WidgetTreeOptions class

Constructors

WidgetTreeOptions({Finder findWidget(WidgetTester, Widget)?, String goldenPath = 'test/golden_widget_trees', String failurePath = 'test/failures/golden_widget_trees', String? goldenName, Set strippedWidgets = defaultIgnoredWidgets, bool stripPrivateWidgets = true, IncludeWidgetBounds includeWidgetBounds = IncludeWidgetBounds.relative, int boundsPrecision = 0})
const

Properties

boundsPrecision → int
final
failurePath → String
final
findWidget → Finder Function(WidgetTester, Widget)?
final
goldenName → String?
final
goldenPath → String
final
hashCode → int
The hash code for this object.
no setterinherited
includeWidgetBounds → IncludeWidgetBounds
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
strippedWidgets → Set
final
stripPrivateWidgets → bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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