mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 03:15:43 +08:00
formating and fixing warnings
This commit is contained in:
@ -57,7 +57,8 @@ class Util {
|
||||
/// Use this in order to get it to work in case your app also contains other widgets.
|
||||
void addGestureRecognizer(GestureRecognizer recognizer) {
|
||||
if (GestureBinding.instance == null) {
|
||||
throw new Exception("GestureBinding is not initialized yet, this probably happened because addGestureRecognizer was called before the runApp method");
|
||||
throw new Exception(
|
||||
"GestureBinding is not initialized yet, this probably happened because addGestureRecognizer was called before the runApp method");
|
||||
}
|
||||
|
||||
GestureBinding.instance.pointerRouter.addGlobalRoute((PointerEvent e) {
|
||||
|
||||
Reference in New Issue
Block a user