1
0
mirror of https://github.com/git-touch/git-touch synced 2024-12-15 09:56:15 +01:00

feat: add material app zoom transition (#98)

Closes #94
This commit is contained in:
Shreyas Thirumalai 2020-08-23 12:26:34 +05:30 committed by GitHub
parent 0df64fbc4f
commit 34e6af2dab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(),
);