CustomRoute<T > class
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 > ?
final inherited
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
final inherited
guards
→ List <Type > ?
final inherited
hashCode
→ int
The hash code for this object.
no setter inherited
initial
→ bool ?
final inherited
maintainState
→ bool ?
passed to the maintainState property in MaterialPageRoute
final inherited
name
→ String ?
final inherited
opaque
→ bool ?
passed to the opaque property in PageRouteBuilder
final
page
→ Type
final inherited
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
final inherited
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 setter inherited
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