McpEventType enum
Enum que define todos los tipos de eventos disponibles
Values
- tap → const McpEventType
-
Tap simple en un widget
- longPress → const McpEventType
-
Tap sostenido/prolongado
- textInput → const McpEventType
-
Escribir texto en un TextField
- swipe → const McpEventType
-
Deslizamiento direccional
- scroll → const McpEventType
-
Scroll con deltas
- hideKeyboard → const McpEventType
-
Ocultar teclado
- showKeyboard → const McpEventType
-
Mostrar teclado
- wait → const McpEventType
-
Esperar/delay
- assertExists → const McpEventType
-
Verificar que widget existe
- assertText → const McpEventType
-
Verificar texto de widget
- doubleTap → const McpEventType
-
Double tap
- drag → const McpEventType
-
Drag and drop
- pinch → const McpEventType
-
Pinch (zoom)
- selectDropdown → const McpEventType
-
Seleccionar opción de dropdown por valor o índice
- toggle → const McpEventType
-
Activar/desactivar Checkbox, Switch o Radio
- setSliderValue → const McpEventType
-
Posicionar Slider a un valor 0.0–1.0 (porcentaje del track)
- pressBack → const McpEventType
-
Navegar atrás (pop de ruta)
- clearText → const McpEventType
-
Limpiar TextField sin escribir texto
- scrollUntilVisible → const McpEventType
-
Scrollear padre hasta que el widget target sea visible en viewport
- assertVisible → const McpEventType
-
Verificar que el widget está visible en el viewport actual
- assertEnabled → const McpEventType
-
Verificar que el widget está habilitado (no disabled)
- assertSelected → const McpEventType
-
Verificar el estado checked de Checkbox, Switch o Radio
- assertValue → const McpEventType
-
Verificar el valor del TextEditingController (no el display text)
- assertCount → const McpEventType
-
Verificar cantidad de hijos en un ListView/Column
- tapByLabel → const McpEventType
-
Tapear el widget cuyo texto interno coincide con el label dado
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.