Push class final
A navigation type that pushes a new view onto the navigation stack.
- Inheritance
- Mixed-in types
Constructors
- Push({required AnalyticsIdentifiable analyticsIdentifiable, bool swipeToDismissEnabled = true, bool animated = true, bool skipKeyboardDismissal = false})
Properties
- analyticsIdentifiable → AnalyticsIdentifiable
-
finalinherited
- analyticsName → String
-
Stable identifier for analytics and breadcrumbs.
no setteroverride
- animated → bool
-
finalinherited
- builder → WidgetBuilder
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
key
→ ValueKey<
String> -
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screenName → String
-
no setterinherited
- skipKeyboardDismissal → bool
-
If true, the keyboard dismissal will be skipped before the navigation.
finalinherited
- swipeToDismissEnabled → bool
-
final
Methods
-
buildAnimatedPage(
BuildContext context) → Page -
Built-in page types wrap their content so a root page keeps system back
(Android predictive back). Custom subclasses that override this,
including types returned from
ReplaceAnimationTypeCustom.handler, do not get that wrap, and on Android 16 back on such a root closes the app.override -
buildPage(
BuildContext context) → Page -
inherited
-
Modifies the navigation stack based on the current stack
and the new navigation type.
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