full_screen_back_gesture

Last updated:

0 purchases

full_screen_back_gesture Image
full_screen_back_gesture Images
Add to Cart

Description:

full screen back gesture

full_screen_back_gesture #
A Flutter package supports full screen swipe back gesture, without scrolling conflicts.
Features #

full screen swipe back gesture instead of edge swipe
will not block horizontal scroll gesture of Scrollable widgets

Usage #
Option 1 (Recommended) #
When you use MaterialPageRoute for Navigator, you can custom page transitions,
Sets pageTransitionsTheme for MaterialApp theme.
MaterialApp(
theme: ThemeData(
pageTransitionsTheme: PageTransitionsTheme(
builders: {
TargetPlatform.android: FullScreenBackGesturePageTransitionsBuilder(),
TargetPlatform.iOS: FullScreenBackGesturePageTransitionsBuilder(),
},
),
),
);
copied to clipboard
Option 2 #
If you have to use CupertinoPageRoute for Navigator, import cupertino route form this package, There is only CupertinoPageRoute has been replaced.
import 'package:full_screen_back_gesture/cupertino.dart';

Navigator.of(context).push(CupertinoPageRoute(builder: (context) => MainPage())),
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.