AFScreenMap class
A mapping of screen identifiers to screen. This mapping is used to build the correct screen widget for the leaf element in the route.
Constructors
Properties
- appInitialScreenId → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasStartupScreen → bool
-
no setter
- initialScreenBuilder → WidgetBuilder?
-
Returns the widget builder for the initial screen.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
screenMap
→ Map<
AFID, WidgetBuilder> -
Returns the current mapping of routes to screens.
no setter
-
screens
→ Map<
String, WidgetBuilder> -
no setter
- startupRouteParamFactory → AFCreateRouteParamDelegate?
-
no setter
- startupScreenId → AFScreenID?
-
no setter
- trueCreateStartupScreenParam ↔ AFCreateRouteParamDelegate?
-
getter/setter pair
Methods
-
createFor(
AFScreenID id, BuildContext context) → Widget -
createInstance(
AFScreenID id, BuildContext? buildContext) → AFConnectedUIBase< AFComponentState, AFFunctionalTheme, AFFlexibleStateView, AFRouteParam, AFStateProgrammingInterface< AFComponentState, AFBuildContext< >AFFlexibleStateView, AFRouteParam> , AFFunctionalTheme> -
findBy(
AFScreenID id) → WidgetBuilder? -
findUIConfig(
AFScreenID id) → AFConnectedUIConfig< AFComponentState, AFFunctionalTheme, AFFlexibleStateView, AFRouteParam, AFStateProgrammingInterface< ?AFComponentState, AFBuildContext< >AFFlexibleStateView, AFRouteParam> , AFFunctionalTheme> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerBottomSheet(
AFScreenID screenKey, AFConnectedUIBuilderDelegate screenBuilder, AFBottomSheetConfig< AFBottomSheetStateProgrammingInterface< config) → voidAFComponentState, AFBuildContext< , AFComponentState, AFFunctionalTheme, AFFlexibleStateView, AFRouteParam>AFFlexibleStateView, AFRouteParam> , AFFunctionalTheme> -
registerDialog(
AFScreenID screenKey, AFConnectedUIBuilderDelegate screenBuilder, AFDialogConfig< AFDialogStateProgrammingInterface< config) → voidAFComponentState, AFBuildContext< , AFComponentState, AFFunctionalTheme, AFFlexibleStateView, AFRouteParam>AFFlexibleStateView, AFRouteParam> , AFFunctionalTheme> -
registerDrawer(
AFScreenID screenKey, AFConnectedUIBuilderDelegate screenBuilder, AFDrawerConfig< AFDrawerStateProgrammingInterface< config) → voidAFComponentState, AFBuildContext< , AFComponentState, AFFunctionalTheme, AFFlexibleStateView, AFRouteParam>AFFlexibleStateView, AFRouteParam> , AFFunctionalTheme> -
registerScreen(
AFScreenID screenKey, AFConnectedUIBuilderDelegate screenBuilder, AFScreenConfig< AFScreenStateProgrammingInterface< config) → voidAFComponentState, AFBuildContext< , AFComponentState, AFFunctionalTheme, AFFlexibleStateView, AFRouteParam>AFFlexibleStateView, AFRouteParam> , AFFunctionalTheme> -
Call registerScreen multiple times to specify the relationship between
screenKeyand screens built by the WidgetBuilder -
registerStartupScreen(
AFScreenID screenId, AFCreateRouteParamDelegate createParam) → void - Call registerStartupScreen once to specify the initial screen for your app.
-
toString(
) → String -
A string representation of this object.
inherited
-
widget(
AFWidgetID widget, AFConnectedUIBuilderDelegate widgetBuilder) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited