RouteConfig<T> class
- Annotations
Constructors
-
RouteConfig({required Route<
T> routeBuilder(RouteSettings, Widget ()), required Widget contentBuilder(), RouteConfigOrientation? orientation}) -
const
- RouteConfig.material(Widget builder(), {RouteConfigOrientation? orientation})
-
factory
- RouteConfig.transparent(Widget builder(), {RouteConfigOrientation? orientation})
-
factory
Properties
- contentBuilder → Widget Function()
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- orientation → RouteConfigOrientation?
-
final
-
routeBuilder
→ Route<
T> Function(RouteSettings, Widget ()) -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Properties
- darkTop → SystemUiOverlayStyle
-
final
- defaultOrientation ↔ RouteConfigOrientation
-
getter/setter pair
- lightTop → SystemUiOverlayStyle
-
final
Static Methods
-
generateInitialRoute(
Map< String, RouteConfig> routes, String name) → Route -
generateRoute(
Map< String, RouteConfig> routes, RouteSettings settings) → Route