TransitionBuilderPage<T> class
abstract
A page that can be subclassed to provide push and pop animations.
When a page is pushed, buildPushTransition is called, and the returned transition is used to animate the page onto the screen.
When a page is popped, buildPopTransition is called, and the returned transition is used to animate the page off the screen.
- Inheritance
-
- Object
- RouteSettings
- Page<
T> - TransitionBuilderPage
- Implementers
Constructors
Properties
- arguments → Object?
-
The arguments passed to this route.
finalinherited
- child → Widget
-
The content to be shown in the Route created by this page.
final
- fullscreenDialog → bool
-
Whether this page route is a full-screen dialog.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → LocalKey?
-
The key associated with this page.
finalinherited
- maintainState → bool
-
Whether the route should remain in memory when it is inactive.
final
- name → String?
-
The name of the route (e.g., "/settings").
finalinherited
- opaque → bool
-
Whether the route obscures previous routes when the transition is complete.
final
- restorationId → String?
-
Restoration ID to save and restore the state of the Route configured by
this page.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildPopTransition(
BuildContext context) → PageTransition - Called when this page is popped, returns a PageTransition to configure the pop animation.
-
buildPushTransition(
BuildContext context) → PageTransition - Called when this page is pushed, returns a PageTransition to configure the push animation.
-
canUpdate(
Page other) → bool -
Whether this page can be updated with the
other
page.inherited -
createRoute(
BuildContext context) → Route< T> -
Creates the Route that corresponds to this page.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited