ios_willpop_transition_theme

Last updated:

0 purchases

ios_willpop_transition_theme Image
ios_willpop_transition_theme Images
Add to Cart

Description:

ios willpop transition theme

iOS Willpop Transition Builder #
A Flutter package to solve the conflict between ios sliding back and Willpop.
related issue: #14203




Use it with effect globally #
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(),
);
}
copied to clipboard
or local effect #
Use WillPopPageRoute
Navigator.of(context).push(WillPopPageRoute(
builder: (_) => const TestPage(),
));
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.