Parcourir la source

Merge pull request #1 from comodoro/master

Fixes an exception when touching menu - About
Felipe Carvalho il y a 7 ans
Parent
commit
bcacde596e
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      lib/main.dart

+ 3 - 3
lib/main.dart

@@ -57,9 +57,9 @@ class FromRightToLeft<T> extends MaterialPageRoute<T> {
         ),
         child: child,
       ),
-      position: new FractionalOffsetTween(
-        begin: const FractionalOffset(1.0, 0.0),
-        end: FractionalOffset.topLeft,
+      position: new Tween<Offset>(
+        begin: const Offset(1.0, 0.0),
+        end: Offset.zero,
       )
       .animate(
         new CurvedAnimation(