launchWithAttemptState method

  1. @override
Future<TestApplicationHandle> launchWithAttemptState(
  1. WidgetTester tester,
  2. TestLaunchContext context,
  3. EnsembleTestContext ensembleContext
)
override

Implementation

@override
Future<TestApplicationHandle> launchWithAttemptState(
  WidgetTester tester,
  TestLaunchContext context,
  EnsembleTestContext ensembleContext,
) =>
    // AttemptLifecycleCoordinator owns listener startup, launch-event flush,
    // and test-route boundary for this path. Keeping those operations here
    // duplicated the shared lifecycle and made it possible for the two
    // owners to disagree about when route history starts.
    _launch(tester, context, ensembleContext, ownsNavigationFlow: false);