StepScreenshotOptions.onFailure constructor
StepScreenshotOptions.onFailure()
Failure freeze: no pumps that advance the tree.
Implementation
factory StepScreenshotOptions.onFailure() => const StepScreenshotOptions(
pumpBeforeCapture: false,
ensureTargetVisible: false,
waitForTarget: false,
waitForLottie: false,
stabilize: false,
forFailure: true,
allowObserveWhileQueueBusy: true,
observationDetail: ObservationDetailLevel.diagnostic,
);