AFCoreDefinitionContext class

Constructors

AFCoreDefinitionContext()

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

Operators

operator ==(Object other) bool
The equality operator.
inherited