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

AFScreenMap()

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<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>, AFComponentState, AFFunctionalTheme, AFFlexibleStateView, AFRouteParam> config) → void
registerDialog(AFScreenID screenKey, AFConnectedUIBuilderDelegate screenBuilder, AFDialogConfig<AFDialogStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>, AFComponentState, AFFunctionalTheme, AFFlexibleStateView, AFRouteParam> config) → void
registerDrawer(AFScreenID screenKey, AFConnectedUIBuilderDelegate screenBuilder, AFDrawerConfig<AFDrawerStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>, AFComponentState, AFFunctionalTheme, AFFlexibleStateView, AFRouteParam> config) → void
registerScreen(AFScreenID screenKey, AFConnectedUIBuilderDelegate screenBuilder, AFScreenConfig<AFScreenStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>, AFComponentState, AFFunctionalTheme, AFFlexibleStateView, AFRouteParam> config) → void
Call registerScreen multiple times to specify the relationship between screenKey and 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