CustomRouter class

Defaults created routes to PageRouteBuilder unless overridden by AutoRoute annotation

Inheritance

Constructors

CustomRouter({Function? transitionsBuilder, bool? barrierDismissible, int? durationInMilliseconds, int? reverseDurationInMilliseconds, bool? opaque, bool? generateNavigationHelperExtension, String? routesClassName, String? pathPrefix, required List<StackedRoute> routes})
const

Properties

barrierDismissible bool?
passed to the barrierDismissible property in PageRouteBuilder
final
durationInMilliseconds int?
route transition duration in milliseconds is passed to PageRouteBuilder this property is ignored unless a transitionBuilder is provided
final
generateNavigationHelperExtension bool?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
opaque bool?
passed to the opaque property in PageRouteBuilder
final
reverseDurationInMilliseconds int?
route transition reverse duration in milliseconds is passed to PageRouteBuilder
final
routePrefix String?
finalinherited
routes List<StackedRoute>
finalinherited
routesClassName String?
finalinherited
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