ReplaceStack class final
- Inheritance
-
- Object
- NavigationType
- ViewNavigationType
- ReplaceStack
- Mixed-in types
Constructors
- ReplaceStack({required AnalyticsIdentifiable analyticsIdentifiable, required ReplaceAnimationType animationType, bool skipKeyboardDismissal = false})
Properties
- analyticsIdentifiable → AnalyticsIdentifiable
-
finalinherited
- analyticsName → String
-
Stable identifier for analytics and breadcrumbs.
no setteroverride
- animated → bool
-
no setteroverride
- animationType → ReplaceAnimationType
-
final
- builder → WidgetBuilder
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
final
-
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
-
no setteroverride
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.inherited -
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