WidgetTestHarness class
You can use this class directly and then author your own extensions to it for your specific behaviors or you can
extend this class and provide any dependencies you require. See example_widget_test_support.dart
for a complete example
Constructors
- WidgetTestHarness(WidgetTester tester)
-
Creates the WidgetTestHarness that is require by WidgetTestGiven, WidgetTestWhen, and WidgetTestThen
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tester → WidgetTester
-
Class that programmatically interacts with widgets and the test environment.
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