StepScreenshotOptions.waitForNavigationMatched constructor

StepScreenshotOptions.waitForNavigationMatched()

Mid-wait navigation: runner uses a dedicated paint/early-frame path; these flags apply when falling through to the normal screenshot helper.

Implementation

factory StepScreenshotOptions.waitForNavigationMatched() =>
    const StepScreenshotOptions(
      pumpBeforeCapture: false,
      ensureTargetVisible: false,
      waitForTarget: false,
      waitForLottie: false,
      stabilize: false,
      allowObserveWhileQueueBusy: true,
    );