McpEventType enum
Enum defining all available event types
Values
- tap → const McpEventType
-
Simple tap on a widget
- longPress → const McpEventType
-
Long press / sustained tap
- textInput → const McpEventType
-
Type text into a TextField
- swipe → const McpEventType
-
Directional swipe
- scroll → const McpEventType
-
Scroll with deltas
- hideKeyboard → const McpEventType
-
Hide keyboard
- showKeyboard → const McpEventType
-
Show keyboard
- wait → const McpEventType
-
Wait / delay
- assertExists → const McpEventType
-
Assert that a widget exists
- assertText → const McpEventType
-
Assert widget text
- doubleTap → const McpEventType
-
Double tap
- drag → const McpEventType
-
Drag and drop
- pinch → const McpEventType
-
Pinch (zoom)
- selectDropdown → const McpEventType
-
Select dropdown option by value or index
- toggle → const McpEventType
-
Toggle Checkbox, Switch, or Radio on/off
- setSliderValue → const McpEventType
-
Set Slider to a value 0.0–1.0 (percentage of track)
- pressBack → const McpEventType
-
Navigate back (route pop)
- clearText → const McpEventType
-
Clear TextField without typing text
- scrollUntilVisible → const McpEventType
-
Scroll parent until the target widget is visible in the viewport
- assertVisible → const McpEventType
-
Assert that the widget is visible in the current viewport
- assertEnabled → const McpEventType
-
Assert that the widget is enabled (not disabled)
- assertSelected → const McpEventType
-
Assert the checked state of a Checkbox, Switch, or Radio
- assertValue → const McpEventType
-
Assert the TextEditingController value (not the display text)
- assertCount → const McpEventType
-
Assert the number of children in a ListView/Column
- tapByLabel → const McpEventType
-
Tap the widget whose inner text matches the given label
- tapAt → const McpEventType
-
Tap at absolute screen coordinates (no registered widget needed)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Constants
-
values
→ const List<
McpEventType> - A constant List of the values in this enum, in order of their declaration.