AFConnectedWidgetPrototype class

All the information necessary to render a single screen for prototyping and testing.

Inheritance

Constructors

AFConnectedWidgetPrototype({required AFPrototypeID id, required dynamic models, required AFRouteParam routeParam, List<AFRouteParam>? children, required AFRenderConnectedChildDelegate render, required AFSingleScreenPrototypeBody body, required AFTestTimeHandling timeHandling})

Properties

body AFSingleScreenPrototypeBody
finalinherited
children List<AFRouteParam>?
final
createWidgetWrapperDelegate AFCreateWidgetWrapperDelegate?
finalinherited
displayId AFID
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasReusable bool
no setterinherited
hasTests bool
no setterinherited
id AFPrototypeID
finalinherited
isTestDrawerBegin bool
no setterinherited
isTestDrawerEnd bool
no setterinherited
no setteroverride
This is not relevant, navigate is always used in this case.
no setteroverride
regressionTests List<AFScreenTestDescription>
no setteroverride
render AFRenderConnectedChildDelegate
finalinherited
reusableTests List<AFScreenTestDescription>
no setteroverride
routeParam AFRouteParam
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenId AFScreenID
no setterinherited
sectionIds List<AFScreenTestID>
no setterinherited
singleScreenBody AFSingleScreenPrototypeBody
no setterinherited
smokeTests List<AFScreenTestDescription>
no setteroverride
stateView → dynamic
finalinherited
testDrawerSide int
finalinherited
timeHandling AFTestTimeHandling
final
uiType AFUIType
finalinherited

Methods

createNavigatePush() AFNavigatePushAction
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDrawerReset(AFDispatcher dispatcher) → void
override
onDrawerRun(AFBuildContext<AFFlexibleStateView, AFRouteParam> context, AFScreenTestContextSimulator? prevContext, AFSingleScreenTestState state, AFScreenTestID selectedTestId, Function onEnd) Future<void>
inherited
openTestDrawer(AFScreenTestID id) → void
inherited
paramDescriptions(AFScreenTestID id) List<String>
inherited
prepareRun(AFDispatcher dispatcher, AFScreenTestContextSimulator? prevContext, AFScreenTestID idSelected) AFScreenTestContextSimulator
inherited
run(AFScreenTestExecute context, {Function? onEnd}) Future<void>
inherited
startScreen(AFDispatcher dispatcher, BuildContext? flutterContext, AFDefineTestDataContext registry, {AFRouteParam? routeParam, List<Object>? stateView}) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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