afib_flutter library

AFib code that depends on flutter.

Be careful not to reference this library from integration tests.

Classes

AFActionWithKey
AFAlwaysFailQuery
AFAppExtensionContext
Enables you, or third parties, to register extensions
AFAppFundamentalThemeAreaBuilder
AFAppLibraryExtensionContext
AFApplyCupertinoPicker
AFApplyDismissWidgetAction
AFApplySetValueWidgetAction
AFApplySliderAction
AFApplyTapWidgetAction
AFApplyTextTextFieldAction
AFApplyWidgetAction
AFAppPlatformInfoQuery
AFAppPlatformInfoState
A utility containing package info that is placed in your own app state
AFAsyncListenerQuery<TResponse>
A version of AFAsyncQuery for queries that have some kind of ongoing connection or state that needs to be shutdown.
AFAsyncQueries
A list of asynchronous queries that the app uses to collect and integrate data.
AFAsyncQuery<TResponse>
Superclass for a kind of action that queries some data asynchronously, then knows how to process the result.
AFAsyncQueryFuture<TResponse>
AFBaseTestDefinitionContext
Base test definition wrapper, with access to test data.
AFBorderRadius
AFBorderRadiusSet
AFBottomSheetConfig<TSPI extends AFBottomSheetStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>, TState extends AFComponentState, TTheme extends AFFunctionalTheme, TStateView extends AFFlexibleStateView, TRouteParam extends AFRouteParam>
AFBottomSheetPrototype
AFBottomSheetRouteParam
AFBottomSheetRouteParamWithFlutterState
AFBottomSheetStateProgrammingInterface<TState extends AFComponentState, TBuildContext extends AFBuildContext<AFFlexibleStateView, AFRouteParam>, TTheme extends AFFunctionalTheme>
AFBottomSheetTests<TState>
Used to register connected or unconnected widget tests.
AFBuildContext<TStateView extends AFFlexibleStateView, TRouteParam extends AFRouteParam>
A utility class which you can use when you have a complex screen which passes the dispatcher, screen data and param to many functions, to make things more concise.
AFBuilder<TSPI extends AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>>
AFBuildOnEventContext
AFBuildStateViewContext<TState extends AFComponentState?, TRouteParam extends AFRouteParam>
AFCheckboxTapAction
AFCircularProgressIndicator
AFColor
A pairing of each color and its dark mode variant.
AFColorPairing
A pairing of AFColor for foreground and background.
AFComponentState
The root class for both state and state views
AFComponentStates
Tracks the application state and any state provided by third parties.
AFComponentStateUnused
AFCompositeQuery
AFCompositeQueryEntry
AFCompositeQueryResponse
AFConnectedBottomSheet<TState extends AFComponentState, TTheme extends AFFunctionalTheme, TStateView extends AFFlexibleStateView, TRouteParam extends AFRouteParam, TSPI extends AFBottomSheetStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>>
Use this to connect a bottom sheet to the store.
AFConnectedDialog<TState extends AFComponentState, TTheme extends AFFunctionalTheme, TStateView extends AFFlexibleStateView, TRouteParam extends AFRouteParam, TSPI extends AFDialogStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>>
Use this to connect a dialog to the store.
AFConnectedDrawer<TState extends AFComponentState, TTheme extends AFFunctionalTheme, TStateView extends AFFlexibleStateView, TRouteParam extends AFRouteParam, TSPI extends AFScreenStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>>
Use this to connect a drawer to the store.
AFConnectedScreen<TState extends AFComponentState, TTheme extends AFFunctionalTheme, TStateView extends AFFlexibleStateView, TRouteParam extends AFRouteParam, TSPI extends AFScreenStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>>
Superclass for a screen Widget, which combined data from the store with data from the route in order to render itself.
AFConnectedUIBase<TState extends AFComponentState, TTheme extends AFFunctionalTheme, TStateView extends AFFlexibleStateView, TRouteParam extends AFRouteParam, TSPI extends AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>>
Base call for all screens, widgets, drawers, dialogs and bottom sheets that connect to the store/state.
AFConnectedUIConfig<TState extends AFComponentState, TTheme extends AFFunctionalTheme, TStateView extends AFFlexibleStateView, TRouteParam extends AFRouteParam, TSPI extends AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>>
AFConnectedWidget<TState extends AFComponentState, TTheme extends AFFunctionalTheme, TStateView extends AFFlexibleStateView, TRouteParam extends AFRouteParam, TSPI extends AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>>
AFConnectedWidgetPrototype
All the information necessary to render a single screen for prototyping and testing.
AFCoreDefinitionContext
AFCoreLibraryExtensionContext
AFCreateDynamicQueryResultContext<TQuery extends AFAsyncQuery>
AFCurrentStateContext
AFDeferredQuery
A version of AFAsyncQuery for queries that should be run in the background after a delay.
AFDeferredSuccessQuery
A deferred query which waits a specified duration, then calls its onSuccess, but does not otherwise do anything.
AFDefineTestDataContext
A registry of test data objects which can be referenced by an id.
AFDialogConfig<TSPI extends AFDialogStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>, TState extends AFComponentState, TTheme extends AFFunctionalTheme, TStateView extends AFFlexibleStateView, TRouteParam extends AFRouteParam>
AFDialogPrototype
AFDialogRouteParam
AFDialogRouteParamWithFlutterState
AFDialogStateProgrammingInterface<TState extends AFComponentState, TBuildContext extends AFBuildContext<AFFlexibleStateView, AFRouteParam>, TTheme extends AFFunctionalTheme>
AFDialogTests<TState>
Used to register connected or unconnected widget tests.
AFDismissibleSwipeAction
AFDispatcher
Used to dispatch actions to the store, with a level of indirection for testing.
AFDrawerConfig<TSPI extends AFDrawerStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>, TState extends AFComponentState, TTheme extends AFFunctionalTheme, TStateView extends AFFlexibleStateView, TRouteParam extends AFRouteParam>
AFDrawerPrototype
AFDrawerRouteParam
AFDrawerRouteParamWithFlutterState
AFDrawerStateProgrammingInterface<TState extends AFComponentState, TBuildContext extends AFBuildContext<AFFlexibleStateView, AFRouteParam>, TTheme extends AFFunctionalTheme>
AFDrawerTests<TState>
Used to register connected or unconnected widget tests.
AFExtractChildrenWidgetAction
AFExtractColumnChildrenAction
AFExtractPrimaryWidgetAction
AFExtractRichTextAction
AFExtractSliderAction
AFExtractTextTextAction
AFExtractTextTextFieldAction
AFExtractWidgetAction
AFExtractWidgetListAction
AFFinishQueryContext
AFFinishQueryErrorContext
AFFinishQuerySuccessContext<TResponse>
AFFirestoreDocument
A document retrieved from cloud firestore.
AFFlexibleStateView
AFFlutterRouteParamState
AFFocusNodesHolder
AFFunctionalTheme
Functional themes are interfaces that provide UI theming for conceptual components that are shared across many pages in the app.
AFFunctionalThemeUnused
Can be used as a template parameter when you don't want a theme.
AFFundamentalDeviceTheme
These are fundamental values for theming derived from the device and operating system itself.
AFFundamentalThemeArea
Allows different parties to contribute fundamental values to a theme which are can be manipulated via the prototype drawer.
AFFundamentalThemeState
Fundamental values that contribute to theming in the app.
AFFundamentalThemeValue
A value which can be exposed to and edited by the theme
AFGestureDetectorTapAction
AFibD<AppState>
AFibF
A class for finding accessing global utilities in AFib.
AFibGlobalState
AFibStateStackEntry
AFibStoreStackEntry
AFibTestOnlyScreenElement
AFibTestsFailedMatcher
AFIconButtonAction
AFIconDataSelector
AFIsolateListenerExecutionContext<TMessage>
AFIsolateListenerQuery<TMessage>
AFKeySelector
AFLibraryProgrammingInterface
AFLibraryProgrammingInterfaceContext
AFLibraryTestHolder
AFListTileTapAction
AFMaterialApp<AppState>
The parent class of MaterialApp based AFib apps.
AFModelWithCustomID
AFMultipleWidgetSelector
AFNavigateAction
Base class for action that manipulates the route (pushing, popping, replacing) and determines which screen is showing, and what data is visible.
AFNavigateActionWithReturn
AFNavigateActionWithReturnData
AFNavigateAddChildParamAction
AFNavigateExitTestAction
Action that exits the current test screen in prototype mode.
AFNavigatePopAction
Action that navigates on screen up in the route, discarding the current leaf route.
AFNavigatePopNAction
Pops popCount screens off the navigation stack.
AFNavigatePopToAction
AFNavigatePushAction
Action that adds a new screen after the current screen in the route.
AFNavigateRemoveChildParamAction
AFNavigateReplaceAction
Action that replaces the current leaf screen with a new screen.
AFNavigateReplaceAllAction
Action that removes all screens in the route, and replaces them with a single new screen at the root.
AFNavigateSetParamAction
Action that changes the data associated with the current screen, but does not change the screen itself.
AFNavigateShowScreenBeginAction
AFNavigateShowScreenEndAction
AFNavigateSyncNavigatorStateWithRoute
AFNavigateUnimplementedQuery
AFNavigatorObserver
AFNotTranslated
AFObjectWithKey
Superclass that allows AFIb to identify objects using their type by default, and an optional identifier descriminate.
AFOnEventContext
A utility providing access to all the functionality that can be used in an event that occurs at a specific instant in time, as in an event, as opposed to a rendering context.
AFOutlinedButtonAction
AFPeriodicQuery
A version of AFAsyncQuery for queries that should be run periodically in the background.
AFPluginExtensionContext
AFPrivateState
AFPublicState
State meant to be used by the app itself, including the app-specific state.
AFPublicStateChange
AFPublicStateOnEventContext
AFQueryContext
AFQueryError
A standard way to represent errors that occur during AFAsyncQuery.
AFRaisedButtonAction
AFRegisterDeferredQueryAction
AFRegisterListenerQueryAction
AFRegisterPeriodicQueryAction
AFResetToInitialRouteAction
This is typically not used by the application, it is used during testing to revert to the initial application route.
AFResetToInitialStateAction
Use this action to reset the entire state of the application to it's initial state.
AFRichTextBuilder
Used for building up RichText widgets in parts.
AFRichTextGestureTapAction
AFRichTextGestureTapSpecifier
AFRouteParam
AFRouteParamChild
AFRouteParamRef
AFRouteParamUnused
AFRouteParamWithFlutterState
AFRouteParamWrapper
Used internally in test cases where we need to substitute a different screen id, for the original screen id in a route param passed to a test. You can call unwrap to get the original route param of the correct type.
AFRouteSegment
A segment in the route which specifies a screen to display, and transient data associated with that screen.
AFRouteSegmentChildren
AFRouteState
The current route, a list of nested screens and the data associated with them.
AFRouteStateSegments
A list of active route segements, and a list of priorSegements which are sometimes referenced during navigate pop transitions.
AFRouteStateShowScreen
AFScreenConfig<TSPI extends AFScreenStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>, TState extends AFComponentState, TTheme extends AFFunctionalTheme, TStateView extends AFFlexibleStateView, TRouteParam extends AFRouteParam>
AFScreenKindTests<TState, TPrototype extends AFScreenPrototype>
AFScreenLikePrototype
AFScreenMap
A mapping of screen identifiers to screen. This mapping is used to build the correct screen widget for the leaf element in the route.
AFScreenPrototype
AFScreenRouteParam
AFScreenRouteParamWithFlutterState
AFScreenStateProgrammingInterface<TState extends AFComponentState, TBuildContext extends AFBuildContext<AFFlexibleStateView, AFRouteParam>, TTheme extends AFFunctionalTheme>
AFScreenTestBody
AFScreenTestContext
AFScreenTestContextSimulator
AFScreenTestContextWidgetTester
AFScreenTestDescription
AFScreenTestExecute
AFScreenTestWidgetCollectorScrollableSubpath
AFScrollableScrollerAction
AFScrollableScrollTracker
AFScrollControllersHolder
AFScrollerAction
AFScrollTracker
AFSelectableChoiceChip
AFSetChoiceChip
AFSetSwitchValueAction
AFSharedTestExtensionContext
AFShouldContinueRouteParam
AFShutdownDeferredQueryAction
AFShutdownListenerQueryAction
AFShutdownOngoingQueriesAction
Shuts down outstanding deferred and listener queries.
AFShutdownPeriodicQueryAction
AFSingleScreenPrototype
All the information necessary to render a single screen for prototyping and testing.
AFSingleScreenPrototypeBody
AFSingleScreenReusableBody
AFSingleScreenTestExecute
AFSingleScreenTests<TState>
This class is used to create canned versions of screens and widget populated with specific data for testing and prototyping purposes.
AFSpacing
AFSpacingSet
AFSparsePathWidgetSelector
AFSpecificStateTestDefinitionContext
AFStandardBuildContextData
A utility that reduces the number of parameters passed in AF client code, and enhances flexibility
AFStandardSPIData
AFStartQueryContext<TResponse>
AFState
The full application state of an Afib app, which contains routing state managed by AFib, and the custom application state.
AFStateModelAccess
Interface for finding state data
AFStateProgrammingInterface<TState extends AFComponentState, TBuildContext extends AFBuildContext<AFFlexibleStateView, AFRouteParam>, TTheme extends AFFunctionalTheme>
AFStateTest
AFStateTestBottomSheetShortcut<TSPI extends AFBottomSheetStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>>
AFStateTestContext
AFStateTestContextForScreen
AFStateTestContextForState
AFStateTestDefinitionContext
A context wrapper for defining a state test.
AFStateTestDialogShortcut<TSPI extends AFDialogStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>>
AFStateTestDrawerShortcut<TSPI extends AFDrawerStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>>
AFStateTestExecute
AFStateTests
AFStateTestScreenContext<TSPI extends AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>>
AFStateTestScreenContextForScreen<TSPI extends AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>>
AFStateTestScreenContextForState<TSPI extends AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>>
AFStateTestScreenLikeShortcut<TSPI extends AFScreenStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>>
AFStateTestScreenShortcut<TSPI extends AFScreenStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>>
AFStateTestStateVerificationContext
AFStateTestWidgetContext<TSPI extends AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>>
AFStateTestWidgetShortcut<TSPI extends AFWidgetStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>>
AFStateViewAugmentationContext
AFStateViewUnused
AFStoreDispatcher
The production dispatcher which dispatches actions to the store.
AFSwitchExtractor
AFSwitchTapAction
AFTapChoiceChip
AFTapGestureRecognizersHolder
AFTestDispatcher
A test dispatcher which records actions for later inspection.
AFTestExtensionContext
AFTestMissingTranslations
AFTestOnEventContext
AFTestParams
AFTestUtils
AFTextBuilder
Used for building up Text widgets in parts.
AFTextButtonAction
AFTextEditingController
AFTextEditingControllers
AFTextStyle
A summary of a text style composed from other theme components.
AFThemeResolvableValue
A theme value that refers to other values, and needs to be resolved at the end of the theme creation process.
AFThemeState
Captures the current state of the primary theme, and any registered third-party themes.
AFTimeUpdateListenerQuery
AFTrackedQuery
Superclass enforcing consistency for queries that live for a while and are tracked within the public state.
AFTranslationSet
AFTranslationTemplate
AFUIAlphaWarningWidget
AFUICompleteProjectStyleWidget
AFUICompleteProjectStyleWidgetSPI
AFUIDebugTimeStateWidget
AFUILibraryFundamentalThemeAreaBuilder
AFUILibraryID
AFUILocaleID
AFUIPrototypeDefinitionContext
A context wrapper for defining single screen test.
AFUIPrototypeDrawer
AFUIPrototypeDrawerRouteParam
AFUIPrototypeDrawerSPI
AFUIPrototypeID
AFUIQueryID
AFUIScreenID
AFUIScreenTestID
AFUISourceTemplateID
AFUIStandardChoiceDialog
AFUIStandardChoiceDialogRouteParam
AFUIStandardChoiceDialogSPI
AFUIStateView<TStateView extends AFFlexibleStateView>
AFUITextField
AFUITextFieldSPI
AFUIThemeID
Identifiers for the fundamental theme
AFUITranslationID
AFUIVerifyContext
AFUIWelcomeWidget
AFUIWelcomeWidgetSPI
AFUIWidgetID
AFUIWidgetListWrapper
AFUnitTest
AFUnitTestContext
AFUnitTestDefinitionContext
AFUnitTestExecute
AFUnitTests
AFUnused
Used to fill in template parameters that are unused.
AFUpdateAppPlatformInfoAction
AFUpdateAppStateAction
Use context.updateComponent... instead of using this directly.
AFUpdateTimeRouteParametersAction
AFWidgetAction
A superclass for actions that either apply data to or extract it from a widget.
AFWidgetByTypeAction
A superclass for actions that apply to a widget based on its runtimeType.
AFWidgetConfig<TSPI extends AFWidgetStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>, TState extends AFComponentState, TTheme extends AFFunctionalTheme, TStateView extends AFFlexibleStateView, TRouteParam extends AFRouteParam>
AFWidgetPrototype
AFWidgetRouteParam
AFWidgetRouteParamWithFlutterState
AFWidgetsBindingObserver
AFWidgetSelector
A utility class used to pass
AFWidgetStateProgrammingInterface<TState extends AFComponentState, TBuildContext extends AFBuildContext<AFFlexibleStateView, AFRouteParam>, TTheme extends AFFunctionalTheme>
AFWidgetTests<TState>
Used to register connected or unconnected widget tests.
AFWidgetTypeSelector
AFWireframe
AFWireframeDefinitionContext
AFWireframeEventAction
AFWireframeExecutionContext
AFWireframes
AFWorkflowStatePrototype
The information necessary to start a test with a baseline state (determined by a state test) and an initial screen/route.
AFWorkflowStateTestBodyWithParam
AFWorkflowStateTestPrototype
AFWorkflowStateTests
Workflow tests have been superceded by state tests.
AFWorkflowStateTestUI
AFWorkflowTestContext
AFWorkflowTestDefinitionContext
AFWorkflowTestExecute
AFWrapModelWithCustomID
When wrapped around a model object, causes it to be referenced by the specified id in an AFComponentState or AFFlexibleStateView.

Enums

AFConceptualStore
Used internally to indicate whether you are the apps real store/data, or about demo mode data.
AFRouteLocation
The two different 'route' types in AFib.
AFShouldContinue
AFTargetStore
Used internally to indicate whether you are talking about the store that drives the UI, or the background store, which holds a secondary state in demo mode that doesn't impact the UI.
AFTestTimeHandling
AFUIStandardChoiceDialogIcon
AFUIType

Functions

afDefaultQueryErrorHandler(AFFinishQueryErrorContext context) → void
afMainApp({required AFDartParams paramsDart, AFExtendBaseDelegate? installBase, AFExtendBaseDelegate? installBaseLibrary, required AFExtendAppDelegate installCoreApp, AFExtendLibraryUIDelegate? installCoreLibrary, required AFExtendTestDelegate installTest, AFAppExtensionContext? appContext}) → void
afMainApp handles startup, execution, and shutdown sequence for an afApp
afMainFirstStartup() → void
afMainUILibrary({required AFLibraryID id, required AFDartParams paramsDart, required AFExtendBaseDelegate installBase, required AFExtendBaseDelegate installBaseLibrary, required AFExtendCoreLibraryDelegate installCoreLibrary, required AFExtendTestDelegate installTest}) → void
afMainApp handles startup, execution, and shutdown sequence for an afApp
afMainWrapper(dynamic onReady()) → void
afScreenTestMain(AFCommandOutput output, AFTestStats stats, AFDartParams paramsD1, WidgetTester tester) Future<void>
afStateTestMain(AFCommandOutput output, AFTestStats stats, AFDartParams paramsD) → void
The main function which executes the store test defined in your initStateTests function.
afTestMainApp({required AFLibraryID id, AFExtendBaseDelegate? installBase, AFExtendBaseDelegate? installBaseLibrary, required AFExtendAppDelegate installCoreApp, AFExtendLibraryUIDelegate? installUILibrary, required AFExtendTestDelegate installTest, required AFDartParams paramsDart, required WidgetTester widgetTester, AFAppExtensionContext? appContext}) Future<void>
The main function which executes the store test defined in your initStateTests function.
afTestMainStartup() → void
afTestMainUILibrary({required AFLibraryID id, required AFExtendBaseDelegate installBase, required AFExtendBaseDelegate installBaseLibrary, required AFExtendCoreLibraryDelegate installCoreLibrary, required AFExtendTestDelegate installTest, required AFDartParams paramsDart, required WidgetTester widgetTester}) Future<void>
afTestWidgetStartup(AFDartParams params, WidgetTester tester, dynamic onRun()) Future<void>
afUnitTestMain(AFCommandOutput output, AFTestStats stats, AFDartParams paramsD) → void
The main function which executes the tests defined in your initUnitTests function.
hasOneWidgetId(AFWidgetID expected) Matcher
hasWidgetId(AFWidgetID expected) Matcher
hasWidgetIds(List<AFWidgetID> expected) Matcher
hasWidgetIdsWith(List expected, {AFWidgetMapperDelegate? mapper}) Matcher

Typedefs

AFAccessCurrentStateDelegate = void Function(AFCurrentStateContext)
AFActionListenerDelegate = void Function(List<AFActionWithKey> actions)
Delegate used to process a list of actions.
AFActionOnReturnDelegate = void Function(dynamic returnData)
Delegate used in various subclasses of AFNavigateAction to return data from a child screen to a parent.
AFAddScreenSpecificModelsDelegate = void Function(AFBuildStateViewContext<AFComponentState?, AFRouteParam> config, List<Object?> destination)
AFAppReducerDelegate<TAppState> = TAppState Function(TAppState appState, dynamic action)
Delegate used to create a reducer for the overall app state.
AFAsyncQueryListenerDelegate = void Function(AFAsyncQuery query)
Delegate used to process an AFAsyncQuery
AFBuildWithSPIDelegate<TSPI extends AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>> = Widget Function(TSPI spi)
AFChangedTextDelegate = void Function(String)
AFConnectedUIBuilderDelegate = AFConnectedUIBase<AFComponentState, AFFunctionalTheme, AFFlexibleStateView, AFRouteParam, AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>> Function(BuildContext? context)
AFConvertSizeToFormFactorDelegate = AFFormFactor Function(Size)
AFCreateAFAppDelegate = AFApp Function()
Delegate used to create an application specific AFApp subclass.
AFCreateComponentStateDelegate = AFComponentState Function(Map<String, Object> models)
AFCreateConnectedWidgetDelegate = AFConnectedUIBase<AFComponentState, AFFunctionalTheme, AFFlexibleStateView, AFRouteParam, AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>> Function(AFConnectedUIBase<AFComponentState, AFFunctionalTheme, AFFlexibleStateView, AFRouteParam, AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>> parent, AFWidgetID wid, {required bool useParentParam})
AFCreateConnectedWidgetWithLaunchParamDelegate = AFConnectedUIBase<AFComponentState, AFFunctionalTheme, AFFlexibleStateView, AFRouteParam, AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>> Function(AFConnectedUIBase<AFComponentState, AFFunctionalTheme, AFFlexibleStateView, AFRouteParam, AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>> parent, AFRouteParam param)
AFCreateDataDelegate<TStateView, TState> = TStateView Function(TState state)
Delegate used to create data used by a screen or widget from the application state.
AFCreateDefaultChildParamDelegate = AFRouteParam? Function(AFID wid, dynamic public, dynamic segParent)
Used to create a default child param the first time a particular child wid is used.
AFCreateDefaultRouteParamDelegate = AFRouteParam Function(AFRouteParamRef source, AFPublicState publicState)
AFCreateDynamicDelegate = dynamic Function()
AFCreateFunctionalThemeDelegate = AFFunctionalTheme Function(AFThemeID id, AFFundamentalThemeState fundamentals, AFBuildContext<AFFlexibleStateView, AFRouteParam> context)
AFCreateLibraryProgrammingInterfaceDelegate = AFLibraryProgrammingInterface Function(AFLibraryProgrammingInterfaceID id, AFLibraryProgrammingInterfaceContext context)
AFCreateLifecycleQueryAction = dynamic Function(AppLifecycleState state)
Delegate used to create a query anytime the app has a lifecyle event, like coming to the foreground.
AFCreateQueryResultDelegate<TQuery extends AFAsyncQuery> = void Function(AFCreateDynamicQueryResultContext<AFAsyncQuery> context, TQuery query)
Delegate used in state tests to create a mock result from a query.
AFCreateRouteParamDelegate = AFRouteParam Function()
Delegate used to create a route parameter.
AFCreateScreenIDDelegate = AFScreenID Function()
AFCreateSPIDelegate<TSPI extends AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>, TBuildContext extends AFBuildContext<AFFlexibleStateView, AFRouteParam>, TTheme extends AFFunctionalTheme> = TSPI Function(TBuildContext context, AFStandardSPIData standard)
AFCreateStartupQueryActionDelegate = dynamic Function()
Delegate used to create an app-specific query that is run when the app first starts.
AFCreateStateViewDelegate<TStateView extends AFFlexibleStateView> = TStateView Function(Map<String, Object> models)
AFCreateWidgetLaunchParamDelegate = AFRouteParam Function(AFScreenID screenId, AFWidgetID wid, AFRouteLocation routeLocation)
AFCreateWidgetWrapperDelegate = Widget Function(AFBuildContext<AFUIDefaultStateView, AFUIPrototypeWidgetRouteParam> context, Widget testWidget)
Delegate used in widget testing to wrap additional widgets around the widget being tested (e.g. to position that widget on the screen, limit its width, etc.)
AFExtendAppDelegate = void Function(AFAppExtensionContext context)
AFExtendCommandsDelegate = void Function(AFCommandAppExtensionContext context)
Delegate use to define commands that are part of the afib command-line app.
AFExtendCommandsLibraryDelegate = void Function(AFCommandLibraryExtensionContext context)
Used by third party extensions to defined commands for the command-line app.
AFExtendCoreLibraryDelegate = void Function(AFCoreLibraryExtensionContext libContext)
AFExtendLibraryUIDelegate = void Function(AFAppLibraryExtensionContext context)
AFExtendTestDelegate = void Function(AFTestExtensionContext context)
AFExtractParamDelegate = AFRouteParam Function(AFRouteParam original)
Delegate used to extract one route param from another, useful in nesting cases where one route param contains other route params that correspond to certain widgets within a screen.
AFFillWidgetListDelegate = void Function(List<Widget> widgets)
Delegate used to fill a list of widgets.
AFFilterWidgetDelegate = bool Function(Widget)
AFFindParamDelegate = AFRouteParam Function(AFState state)
Delegate used to find the route parameter for a screen within the AFState
AFInitAppFundamentalThemeDelegate = void Function(AFFundamentalDeviceTheme device, AFComponentStates appState, AFAppFundamentalThemeAreaBuilder builder)
Allows the app to contribute fundamental theme values
AFInitConfigurationDelegate = void Function(AFConfig config)
Delegate used to populate a configuration object with values.
AFInitCoreDelegate = void Function(AFCoreDefinitionContext context)
AFInitializeComponentStateDelegate = AFComponentState? Function()
Delegate used to create the initial applications state.
AFInitPluginFundamentalThemeDelegate = void Function(AFFundamentalDeviceTheme device, AFComponentStates appState, AFUILibraryFundamentalThemeAreaBuilder builder)
Allows plug-ins to contribute fundamental theme values
AFInitScreenMapDelegate = void Function(AFScreenMap map)
Delegate used to populate the screen map used to associate keys with screens.
AFInitScreenTestsDelegate = void Function(AFUIPrototypeDefinitionContext context)
Delegate used to populate single-screen tests.
AFInitStateTestsDelegate = void Function(AFStateTestDefinitionContext context)
Delegate used to initialize state tests.
AFInitTestDataDelegate = void Function(AFDefineTestDataContext registry)
Delegate used to initialize test data
AFInitUnitTestsDelegate = void Function(AFUnitTestDefinitionContext context)
Delegate used to initialize unit tests.
AFInitWireframesDelegate = void Function(AFWireframeDefinitionContext context)
Delegate used to populate wireframes.
AFInitWorkflowStateTestsDelegate = void Function(AFWorkflowTestDefinitionContext context)
Delegate used to populate multi-screen tests.
AFMergePublicStateDelegate = AFPublicState Function(AFPublicState realState, AFPublicState testState)
AFNavigateWithOnEventContextDelegate = AFNavigatePushAction Function(AFOnEventContext)
AFOnChangedBoolDelegate = void Function(bool)
AFOnChangedStringDelegate = void Function(String)
AFOnErrorDelegate = void Function(AFFinishQueryErrorContext context)
Delegate used when an AFAsyncQuery results in an error.
AFOnLifecycleEventDelegate = void Function(AppLifecycleState newState)
Delegate used to handle a lifecycle event
AFOnResponseDelegate<TResponse> = void Function(AFFinishQuerySuccessContext<TResponse> context)
Delegate used when an AFAsyncQuery results in a successful response.
AFOnTapDelegate = void Function()
AFOverrideCreateThemeDataDelegate = ThemeData Function(AFFundamentalDeviceTheme device, AFComponentStates appState, AFFundamentalThemeArea primary)
Optional delegate used to create the flutter ThemeData, rather than allowing AFib to do it for you based on the primary fundamental theme.
AFParamListenerDelegate = void Function(AFRouteParam param)
Delegate used to process a route parameter
AFPreExecuteResponseDelegate<TResponse> = TResponse Function()
Delegate used to allow a query's on success handler to be called immediately with the specified response, in addition to being called with any actual async response.
AFPressedDelegate = void Function()
AFProcessQueryDelegate<TQuery extends AFAsyncQuery> = dynamic Function(AFStateTestContext context, TQuery query)
Delegate
AFQuerySuccessListenerDelegate = void Function(AFAsyncQuery query, AFFinishQuerySuccessContext context)
Delegate used to register to listen to all queries on success.
AFRenderConnectedChildDelegate = Widget Function(AFRouteParam launchParam)
AFRenderEmbeddedChildDelegate = Widget Function()
AFReturnValueDelegate<TReturn extends Object?> = void Function(TReturn? param)
AFReusableScreenTestBodyExecuteDelegate = Future<void> Function(AFScreenTestExecute e, AFTestParams params)
Delegate used to implement the body of a reusable single screen test that
AFScreenTestBodyExecuteDelegate = Future<void> Function(AFScreenTestExecute ste)
Delegate used to implmeent the body of a single screen test.
AFShouldContinueCheckDelegate = Future<AFShouldContinue> Function()
Delegate used to perform an asynchronous operation (like an alert, and say whether it should continue).
AFShouldContinueCheckDelegateObsolete = Future<int> Function()
AFStateTestDefinitionDelegate = void Function(AFSpecificStateTestDefinitionContext test)
Delegate used to process a state test.
AFStateTestScreenBuildContextDelegate<TSPI extends AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>> = void Function(TSPI spi)
AFStateTestScreenBuildHandlerDelegate<TSPI extends AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>> = void Function(AFStateTestExecute e, TSPI spi)
AFStateTestScreenBuildWithExecuteContextDelegate<TSPI extends AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>> = void Function(AFStateTestExecute e, TSPI spi)
AFStateTestScreenHandlerDelegate<TSPI extends AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>> = void Function(AFStateTestExecute e, AFStateTestScreenContext<TSPI> screenContext)
AFStateTestVerifyStateDelegate = void Function(AFStateTestExecute execute, AFStateTestStateVerificationContext context)
Delegate used to verify a state change, from before to after
AFStateTestWidgetBuildHandlerDelegate<TSPI extends AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>> = void Function(TSPI spi)
AFStateTestWidgetHandlerDelegate<TSPI extends AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>> = void Function(AFStateTestWidgetContext<TSPI> widgetContext)
AFStateTestWidgetWithExecuteHandlerDelegate<TSPI extends AFStateProgrammingInterface<AFComponentState, AFBuildContext<AFFlexibleStateView, AFRouteParam>, AFFunctionalTheme>> = void Function(AFStateTestExecute e, AFStateTestWidgetContext<TSPI> widgetContext)
AFStateViewModelsAugmentorDelegate = void Function(AFStateViewAugmentationContext context, List<Object?> result)
AFTestCreatePushActionDelegate = List Function(AFScreenPrototype test)
Delegate used to create a push action that moves us into a test screen.
AFTestScreenExecuteDelegate = Future<void> Function(AFScreenTestExecute ste)
AFTypedSortDelegate<TSort> = int Function(TSort left, TSort right)
Just a typed sort function.
AFUIVerifyDelegate = void Function(AFUIVerifyContext context)
Delegate used to verify outcomes in UI tests
AFUnitTestBodyExecuteDelegate = void Function(AFUnitTestExecute e)
Delegate used to implement the body of a unit test.
AFUpdateParamDelegate<TRouteParam> = dynamic Function(AFDispatcher dispatcher, TRouteParam param, {AFID id})
Delegate used to update the route param
AFUpdateRouteParamDelegate<TRouteParam extends AFRouteParam> = void Function(AFBuildContext<AFFlexibleStateView, AFRouteParam> context, TRouteParam revised, {AFID? id})
Used to pass in a functiont hat handles route parameter updates in AFEmbeddedWidget
AFVerifyResultDelegate = void Function(Object? result)
AFVerifyReturnValueDelegate = void Function(Object? value)
AFWidgetBuilderDelegate<TBuildContext extends AFBuildContext<AFFlexibleStateView, AFRouteParam>> = Widget Function(TBuildContext context)
Delegate used to creatae a widget builder.
AFWidgetMapperDelegate = AFWidgetID Function(dynamic)
AFWireframeExecutionDelegate = bool Function(AFWireframeExecutionContext we)
AFWorkflowTestBodyExecuteDelegate = Future<void> Function(AFWorkflowTestExecute mse)
Delegate used to implement the boyd of a multi screen test.