iOS Willpop Transition Builder

A Flutter package to solve the conflict between ios sliding back and Willpop.

pub package GitHub stars GitHub forks FlutterCandies

Override builders of PageTransitionsTheme

@override
Widget build(BuildContext context) {
      return MaterialApp(
            title: 'Flutter Example',
            theme: ThemeData(
                  /// Set as needed
                  pageTransitionsTheme: const PageTransitionsTheme(
                        builders: {
                              TargetPlatform.iOS: IOSWillPopTransitionsBuilder(),
                              TargetPlatform.android: IOSWillPopTransitionsBuilder(),
                              TargetPlatform.macOS: IOSWillPopTransitionsBuilder(),
                        },
                  ),
            ),
            home: const Home(),
      );
}

GitHub

View Github