FlutterWorld class
The world object that can be used to store state during a single test.
It also allows interaction with the app under test through the appDriver
which exposes an instance of AppDriverAdapter
- Implementers
Constructors
Properties
- appDriver → AppDriverAdapter
-
The adapter that is used to agnostically drive the app under test
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
attach(
String data, String mimeType, [String? context]) → void -
Attach data to the given
context
which can be a step name or if blank it will be attached to the scenariomimeType
one of 'text/plain', 'text/html', 'application/json', 'image/png'inherited -
dispose(
) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
restartApp(
{Duration? timeout = const Duration(seconds: 60)}) → Future< bool> - Restart the app under test
-
setAppAdapter(
AppDriverAdapter appAdapter) → void - Sets the app driver that is used to control the app under test
-
setAttachmentManager(
AttachmentManager attachmentManager) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited