onDrawerRun method

  1. @override
Future<void> onDrawerRun(
  1. AFBuildContext<AFFlexibleStateView, AFRouteParam> context,
  2. AFScreenTestContextSimulator? prevContext,
  3. AFSingleScreenTestState state,
  4. AFScreenTestID selectedTestId,
  5. Function onEnd,
)
override

Implementation

@override
Future<void> onDrawerRun(AFBuildContext context, AFScreenTestContextSimulator? prevContext, AFSingleScreenTestState state, AFScreenTestID selectedTestId, Function onEnd) async {
  //final screenUpdateCount = AFibF.testOnlyScreenUpdateCount(screenId);
  final testContext = prepareRun(context.dispatcher, prevContext, selectedTestId);
  //await testContext.pauseForRender(screenUpdateCount, true);
  run(testContext, onEnd: onEnd);
  return;
}