ShotAction class

One shot --tap, --enter, --press, --hover, or --focus.

Constructors

ShotAction.enter(ShotTarget target, String text)
Enters text into the text field target is or holds, as a keyboard would.
const
ShotAction.focus(ShotTarget target)
Gives target keyboard focus, highlighted as with a keyboard.
const
ShotAction.hover(ShotTarget target)
Keeps a mouse pointer over target through the capture.
const
ShotAction.press(ShotTarget target)
Holds a pointer down on target through the capture.
const
ShotAction.tap(ShotTarget target)
Taps target: a pointer down and up.
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
kind → ActionKind
final
label → String
As given on the command line, and recorded in the manifest: tap text:Save, enter key:name=Koji.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
target → ShotTarget
The widget it acts on.
final
text → String?
The text --enter types.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
label: tap text:Save, enter key:name=Koji.
override

Operators

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