startScreen method
void
startScreen(
- AFDispatcher dispatcher,
- BuildContext? flutterContext,
- AFDefineTestDataContext registry, {
- AFRouteParam? routeParam,
- List<
Object> ? stateView,
override
Implementation
@override
void startScreen(AFDispatcher dispatcher, BuildContext? flutterContext, AFDefineTestDataContext registry, { AFRouteParam? routeParam, List<Object>? stateView }) {
final ms = stateView ?? this.stateView;
final rpp = routeParam ?? this.createNavigatePush().param;
final actualModels = registry.find(ms);
final rp = registry.find(rpp);
dispatcher.dispatch(AFStartPrototypeScreenTestAction(this,
models: actualModels,
navigate: AFNavigatePushAction(launchParam: AFRouteParamWrapper(screenId: AFUIScreenID.screenPrototypeWidget, original: rp)),
));
dispatcher.dispatch(AFUIPrototypeWidgetScreen.navigatePush(this, id: this.id));
}