ScreenshotTargetSupport class final

Coordinates visibility and paint readiness for screenshot highlights.

This is deliberately independent from screenshot encoding and report writing. It owns only the widget-tree work needed before a screenshot can be captured, so the visual artifact facade remains an orchestration layer.

Constructors

ScreenshotTargetSupport({required void drainFlutterExceptions(WidgetTester tester)})
const

Properties

drainFlutterExceptions → void Function(WidgetTester tester)
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

ensureHighlightTargetVisible(TestStepExecutor executor, TestStep step) → Future<void>
highlightFinder(TestStepExecutor executor, TestStep step) → Finder?
highlightRectForStep(TestStepExecutor executor, TestStep step, {bool forFailure = false}) → Rect?
isHighlightTargetPainted(TestStepExecutor executor, Finder finder, bool prefersHitTestable) → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paintAfterUserAction(TestStepExecutor executor, EnsembleTestContext _) → Future<void>
toString() → String
A string representation of this object.
inherited
waitForHighlightTargetToPaint(TestStepExecutor executor, TestStep step) → Future<void>
waitForScreenshotTarget(TestStepExecutor executor, TestStep step) → Future<void>

Operators

operator ==(Object other) → bool
The equality operator.
inherited