StepScreenshotOptions.matchedCondition constructor

StepScreenshotOptions.matchedCondition()

A matched condition already advanced Flutter to the satisfying state. Freeze that frame before a scheduled callback replaces it.

Implementation

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