NoTransitionPage<T> class Null safety

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.
final, inherited
barrierColor Color?
The color to use for the modal barrier.
final, inherited
barrierDismissible bool
Whether you can dismiss this route by tapping the modal barrier.
final, inherited
barrierLabel String?
The semantic label used for a dismissible barrier.
final, inherited
child Widget
The content to be shown in the Route created by this page.
final, inherited
fullscreenDialog bool
Whether this page route is a full-screen dialog.
final, inherited
hashCode int
The hash code for this object.
read-only, inherited
key LocalKey?
The key associated with this page.
final, inherited
maintainState bool
Whether the route should remain in memory when it is inactive.
final, inherited
name String?
The name of the route (e.g., "/settings").
final, inherited
opaque bool
Whether the route obscures previous routes when the transition is complete.
final, inherited
restorationId String?
Restoration ID to save and restore the state of the Route configured by this page.
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
transitionDuration Duration
A duration argument to customize the duration of the custom page transition.
final, inherited
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.
final, inherited

Methods

canUpdate(Page other) bool
Whether this page can be updated with the other page.
inherited
copyWith({String? name, Object? arguments}) RouteSettings
Creates a copy of this route settings object with the given fields replaced with the new values.
inherited
createRoute(BuildContext context) Route<T>
Creates the Route that corresponds to this page.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited