formating and fixing warnings

This commit is contained in:
Luan Nico
2019-02-09 12:06:59 -02:00
parent 985c403f8b
commit bd51364400
5 changed files with 11 additions and 10 deletions

View File

@ -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) {