CustomTransitionPage#
✅ All Parameters#
CustomTransitionPage(
- key:
Unique key for the page.
- name:
The route name of the page.
- arguments:
Optional route arguments.
- restorationId:
State restoration ID.
- child:
The widget content of this page.
- maintainState:
Whether to keep the page state alive when not visible. Default: true.
- fullscreenDialog:
Shows the page as a fullscreen dialog (iOS style). Default: false.
- opaque:
Whether the page fully covers everything behind it. Default: true.
- barrierColor:
The background color behind this page when non-opaque.
barrierDismissible: Whether tapping the barrier dismisses the page. Default: false.
transitionsBuilder: ⭐ The most important parameter. Defines how the page animates when it transitions in/out.
)