Tester class

The tester that is used to execute the actions in a flow file.

Constructors

Tester(WidgetsBinding _binding, Registry _registry, {Emitter? emitter})
The tester that is used to execute the actions in a flow file.

Properties

hashCode int
The hash code for this object.
no setterinherited
mediaQuery MediaQueryData
The current screen's media query information.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

convert(List<UserFlowStep> steps) Future<List<Future<void> Function()>>
Converts the steps into a list of executable actions.
dispose() → void
Dispose the Tester and it's resources.
emitPlatformMessage(String channel, ByteData? data) → void
Dispatch a message to the platform.
emitPointerEvent(PointerEvent event) → void
Dispatch an event to the targets found by a hit test on its position.
find(String text, {Duration? timeout}) Future<SemanticsNode?>
Find a node that matches the given text.
getRenderRepaintBoundary() RenderRepaintBoundary?
Retrieve the root repaint boundary.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pump({Duration? duration}) Future<void>
Pump the widget tree for the given duration.
pumpAndSettle({Duration? timeout}) Future<void>
Pump the widget tree and wait for animations to complete.
ready() Future<void>
Wait for the semantics tree to be fully build.
storeFile(String fileName, Uint8List bytes) Future<void>
Store binary data with the given fileName.
toString() String
A string representation of this object.
inherited

Operators

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