FlutterDriverAppDriverAdapter class

Inheritance

Constructors

FlutterDriverAppDriverAdapter(FlutterDriver rawAdapter)

Properties

hashCode int
The hash code for this object.
no setterinherited
nativeDriver FlutterDriver
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
override
enterText(SerializableFinder finder, String text, {Duration? timeout = const Duration(seconds: 30)}) Future<void>
override
findBy(dynamic data, FindType findType) SerializableFinder
Returns the correct finder type instance data can be String, Key or a Type findType denotes the type of finder returned
override
findByAncestor(SerializableFinder of, SerializableFinder matching, {bool matchRoot = false, bool firstMatchOnly = false}) SerializableFinder
override
findByDescendant(SerializableFinder of, SerializableFinder matching, {bool matchRoot = false, bool firstMatchOnly = false}) SerializableFinder
Finds widgets that are descendants of the of parameter and that match the matching parameter.
override
getText(SerializableFinder finder, {Duration? timeout = const Duration(seconds: 30)}) Future<String?>
override
isAbsent(SerializableFinder finder, {Duration? timeout = const Duration(seconds: 1)}) Future<bool>
override
isPresent(SerializableFinder finder, {Duration? timeout = const Duration(seconds: 1)}) Future<bool>
override
longPress(SerializableFinder finder, {Duration? pressDuration = const Duration(milliseconds: 500), Duration? timeout = const Duration(seconds: 30)}) Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pageBack() Future<void>
override
screenshot({String? screenshotName}) Future<List<int>>
override
scroll(SerializableFinder finder, {double? dx, double? dy, Duration? duration = const Duration(milliseconds: 200), Duration? timeout = const Duration(seconds: 30)}) Future<void>
Scrolls a descendant scrollable widget by the give parameters
override
scrollIntoView(SerializableFinder finder, {Duration? timeout = const Duration(seconds: 30)}) Future<void>
override
scrollUntilVisible(SerializableFinder item, {SerializableFinder? scrollable, double? dx, double? dy, Duration? timeout = const Duration(seconds: 30)}) Future<void>
Repeatedly scrolls a Scrollable by delta until finder is visible. Between each scroll, wait for duration time for settling. If scrollable is null, this will find a Scrollable.
override
setNativeDriver(FlutterDriver driver) → void
inherited
tap(SerializableFinder finder, {Duration? timeout = const Duration(seconds: 30)}) Future<void>
override
toString() String
A string representation of this object.
inherited
waitForAppToSettle({Duration? duration = const Duration(milliseconds: 100), Duration? timeout = const Duration(seconds: 30)}) Future<int>
override
waitUntil(Future<bool> condition(), {Duration? timeout = const Duration(seconds: 10), Duration? pollInterval = const Duration(milliseconds: 500)}) Future<void>
Will wait until the give condition returns true polling every pollInterval. If condition has not returned true within the given timeout this will cause the returned future to complete with a TimeoutException.
inherited
widget<T extends dynamic>(SerializableFinder finder, [ExpectedWidgetResultType expectResultType = ExpectedWidgetResultType.first]) Future<T>
override

Operators

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