File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 3
3
android : label =" Waterfly III"
4
4
android : name =" ${applicationName}"
5
5
android : icon =" @mipmap/ic_launcher"
6
- android : enableOnBackInvokedCallback =" false "
6
+ android : enableOnBackInvokedCallback =" true "
7
7
android : usesCleartextTraffic =" true"
8
8
android : networkSecurityConfig =" @xml/network_security_config"
9
9
>
Original file line number Diff line number Diff line change @@ -268,6 +268,12 @@ class _WaterflyAppState extends State<WaterflyApp> {
268
268
appBarTheme: const AppBarTheme (
269
269
shape: RoundedRectangleBorder (),
270
270
),
271
+ pageTransitionsTheme: const PageTransitionsTheme (
272
+ builders: < TargetPlatform , PageTransitionsBuilder > {
273
+ TargetPlatform .android:
274
+ PredictiveBackPageTransitionsBuilder (),
275
+ },
276
+ ),
271
277
),
272
278
darkTheme: ThemeData (
273
279
brightness: Brightness .dark,
You can’t perform that action at this time.
0 commit comments