AppRouter class
Constructors
-
AppRouter({required Map<
String, Widget Function(BuildContext, Map)> routeBuilders, RouteTransitionsBuilder? defaultTransitionBuilder, Duration defaultTransitionDuration = const Duration(milliseconds: 300)})
Properties
- defaultTransitionBuilder → RouteTransitionsBuilder?
-
final
- defaultTransitionDuration → Duration
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
routeBuilders
→ Map<
String, Widget Function(BuildContext, Map)> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
generateRoute(
RouteSettings settings) → Route? -
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