AFCoreDefinitionContext class
Properties
-
componentStateCreators
→ Map<Type, AFCreateComponentStateDelegate>
-
final
-
componentStateInitializers
→ List<AFInitializeComponentStateDelegate>
-
final
-
createLifecycleQueryActions
→ List<AFCreateLifecycleQueryAction>
-
Used by the app or third parties to create a query that runs on lifecycle actions.
final
-
createStartupQueries
→ List<AFCreateStartupQueryActionDelegate>
-
final
-
errorListeners
→ List<AFOnErrorDelegate>
-
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
lpiFactories
→ Map<AFLibraryProgrammingInterfaceID, AFCreateLibraryProgrammingInterfaceDelegate>
-
final
-
querySuccessListenerDelegates
→ List<AFQuerySuccessListenerDelegate>
-
Used by app or third parties to listen in to all successful queries.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
screenMap
→ AFScreenMap
-
final
-
spiOverrides
→ Map<Type, AFCreateSPIDelegate<AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>>
-
final
-
stateViewAugmentors
→ Map<String, List<AFStateViewModelsAugmentorDelegate>>
-
final
-
stateViewCreators
→ Map<Type, AFCreateStateViewDelegate<AFFlexibleStateView>>
-
final
-
themeFactories
→ Map<AFThemeID, AFCreateFunctionalThemeDelegate>
-
final
Methods
-
addDefaultQueryErrorHandler(AFOnErrorDelegate onError)
→ void
-
-
addLifecycleQueryAction(AFCreateLifecycleQueryAction createLifecycleQueryAction)
→ void
-
-
addPluginStartupQuery(AFCreateStartupQueryActionDelegate createStartupQueryAction)
→ void
-
Used by third parties to register extra query actions they'd like to take.
-
addQuerySuccessListener(AFQuerySuccessListenerDelegate queryListenerDelegate)
→ void
-
-
addStateViewAugmentationHandler<TStateView extends AFFlexibleStateView>(AFStateViewModelsAugmentorDelegate augmentor)
→ void
-
-
augmentStateViewModels<TStateView extends AFFlexibleStateView>(List<Object?> result)
→ void
-
-
createFunctionalTheme(AFThemeID id, AFFundamentalThemeState fundamentals, AFBuildContext<AFFlexibleStateView, AFRouteParam> context)
→ AFFunctionalTheme
-
-
defineBottomSheet(AFScreenID screenKey, AFConnectedUIBuilderDelegate screenBuilder, AFBottomSheetConfig<AFBottomSheetStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>, AFComponentState, AFFunctionalTheme, AFFlexibleStateView, AFRouteParam> config)
→ void
-
-
defineComponentStateCreator<TState extends AFComponentState>(AFCreateComponentStateDelegate creator)
→ void
-
-
defineComponentStateInitializer(AFInitializeComponentStateDelegate define)
→ void
-
-
defineDialog(AFScreenID screenKey, AFConnectedUIBuilderDelegate screenBuilder, AFDialogConfig<AFDialogStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>, AFComponentState, AFFunctionalTheme, AFFlexibleStateView, AFRouteParam> config)
→ void
-
-
defineDrawer(AFScreenID screenKey, AFConnectedUIBuilderDelegate screenBuilder, AFDrawerConfig<AFDrawerStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>, AFComponentState, AFFunctionalTheme, AFFlexibleStateView, AFRouteParam> config)
→ void
-
-
defineLPI(AFLibraryProgrammingInterfaceID id, {required AFCreateLibraryProgrammingInterfaceDelegate createLPI})
→ void
-
-
defineScreen(AFScreenID screenKey, AFConnectedUIBuilderDelegate screenBuilder, AFScreenConfig<AFScreenStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>, AFComponentState, AFFunctionalTheme, AFFlexibleStateView, AFRouteParam> config)
→ void
-
-
defineScreenSPIOverride<TSPI extends AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>, TBuildContext extends AFBuildContext<AFFlexibleStateView, AFRouteParam>, TTheme extends AFFunctionalTheme>({required AFCreateSPIDelegate<TSPI, TBuildContext, TTheme> createSPI})
→ void
-
-
defineStartupScreen(AFScreenID screenId, AFCreateRouteParamDelegate createParam)
→ void
-
-
defineStateViewCreator<TState extends AFFlexibleStateView>(AFCreateStateViewDelegate<AFFlexibleStateView> creator)
→ void
-
-
defineTheme(AFThemeID id, {required AFCreateFunctionalThemeDelegate createTheme})
→ void
-
-
dispatchLifecycleActions(AFDispatcher dispatcher, AppLifecycleState lifecycle)
→ void
-
-
dispatchStartupQueries(AFDispatcher dispatcher)
→ void
-
-
factoryFor(AFThemeID id)
→ AFCreateFunctionalThemeDelegate
-
-
findComponentStateCreator<TState extends AFComponentState>()
→ AFCreateComponentStateDelegate?
-
-
findStateViewCreator<TState extends AFFlexibleStateView>()
→ AFCreateStateViewDelegate<AFFlexibleStateView>?
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateQueryListeners(AFAsyncQuery query, AFFinishQuerySuccessContext successContext)
→ void
-