From 34e6af2dab954534999050b99c4f4cf177d6584a Mon Sep 17 00:00:00 2001 From: Shreyas Thirumalai Date: Sun, 23 Aug 2020 12:26:34 +0530 Subject: [PATCH] feat: add material app zoom transition (#98) Closes #94 --- lib/app.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/app.dart b/lib/app.dart index 8afcd86..c643d88 100644 --- a/lib/app.dart +++ b/lib/app.dart @@ -22,6 +22,11 @@ class MyApp extends StatelessWidget { theme.brightness == Brightness.dark ? null : Colors.white, accentColor: theme.palette.primary, scaffoldBackgroundColor: theme.palette.background, + pageTransitionsTheme: PageTransitionsTheme( + builders: { + TargetPlatform.android: ZoomPageTransitionsBuilder(), + }, + ), ), home: Home(), );