CustomRoute<T> class

Inheritance

Constructors

CustomRoute({bool? initial, bool? fullscreenDialog, bool? maintainState, String? name, String? path, required Type page, List<Type>? guards, List<StackedRoute>? children, Function? transitionsBuilder, int? durationInMilliseconds, int? reverseDurationInMilliseconds, bool? opaque, bool? barrierDismissible})
const

Properties

barrierDismissible bool?
passed to the barrierDismissible property in PageRouteBuilder
final
children List<StackedRoute>?
finalinherited
durationInMilliseconds int?
route transition duration in milliseconds is passed to PageRouteBuilder this property is ignored unless a transitionBuilder is provided
final
fullscreenDialog bool?
passed to the fullscreenDialog property in MaterialPageRoute
finalinherited
guards List<Type>?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
initial bool?
finalinherited
maintainState bool?
passed to the maintainState property in MaterialPageRoute
finalinherited
name String?
finalinherited
opaque bool?
passed to the opaque property in PageRouteBuilder
final
page Type
finalinherited
path String?
route path name which will be assigned to the given variable name const homeScreen = 'path'; if null a kabab cased variable name prefixed with '/' will be used; homeScreen -> home-screen
finalinherited
reverseDurationInMilliseconds int?
route transition reverse duration in milliseconds is passed to PageRouteBuilder
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transitionsBuilder Function?
this builder function is passed to the transition builder function in PageRouteBuilder
final

Methods

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