NoTransitionPage<T> class

Custom transition page with no transition.

Inheritance

Constructors

NoTransitionPage({required Widget child, String? name, Object? arguments, String? restorationId, LocalKey? key})
Constructor for a page with no transition functionality.
const

Properties

arguments Object?
The arguments passed to this route.
finalinherited
barrierColor Color?
The color to use for the modal barrier.
finalinherited
barrierDismissible bool
Whether you can dismiss this route by tapping the modal barrier.
finalinherited
barrierLabel String?
The semantic label used for a dismissible barrier.
finalinherited
child Widget
The content to be shown in the Route created by this page.
finalinherited
fullscreenDialog bool
Whether this page route is a full-screen dialog.
finalinherited
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.
finalinherited
name String?
The name of the route (e.g., "/settings").
finalinherited
opaque bool
Whether the route obscures previous routes when the transition is complete.
finalinherited
restorationId String?
Restoration ID to save and restore the state of the Route configured by this page.
finalinherited
reverseTransitionDuration Duration
A duration argument to customize the duration of the custom page transition on pop.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transitionDuration Duration
A duration argument to customize the duration of the custom page transition.
finalinherited
transitionsBuilder Widget Function(BuildContext context, Animation<double> animation, Animation<double> secondaryAnimation, Widget child)
Override this method to wrap the child with one or more transition widgets that define how the route arrives on and leaves the screen.
finalinherited

Methods

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.
inherited
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