iOS Willpop Transition Builder

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

related issue: #14203

pub package GitHub stars GitHub forks FlutterCandies

Use it with effect globally

Override builders of PageTransitionsTheme

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

or local effect

Use WillPopPageRoute

   builder: (_) => const TestPage(),