jonataslaw / getx

Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with Get.
MIT License
10.3k stars 1.61k forks source link

Please add new transition type: Transition.predictiveBack #3109

Open Ssiswent opened 4 months ago

Ssiswent commented 4 months ago

To support Predictive back gesture in Flutter 3.22: https://github.com/flutter/flutter/issues/132504#issuecomment-2025776552. https://medium.com/flutter/whats-new-in-flutter-3-22-fbde6c164fe3

image

return MaterialApp(
  theme: ThemeData(
    brightness: Brightness.light,
    pageTransitionsTheme: const PageTransitionsTheme(
      builders: {
        // Use PredictiveBackPageTransitionsBuilder to get the predictive back route transition!
        TargetPlatform.android: PredictiveBackPageTransitionsBuilder(),
      },
    ),
  ),
  home: const MyApp(),
);

Could you please add Transition.predictiveBack here: image

fisforfaheem commented 4 months ago

@jonataslaw Kindly add this.

wildsurfer commented 1 month ago

+1

fisforfaheem commented 1 month ago

+1