PageLoaderKeyboard class
Keyboard object used to group keyboard events that should be executed consecutively.
Example: Ctrl + c PageLoaderKeyboard() ..typeSpecialKey(PageLoaderSpecialKey.control, keyUp: false) ..typeKey('c') ..typeSpecialKey(PageLoaderSpecialKey.control, keyDown: false);
Constructors
Properties
-
events
→ List<
_Key> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
uniqueEvents
→ List<
_Key> -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
typeKey(
String key, {bool keyDown = true, bool keyUp = true}) → void -
Adds to sequence: ('keydown', 'keypress', 'keyup') events on
key
. -
typeSpecialKey(
PageLoaderSpecialKey key, {bool keyDown = true, bool keyUp = true}) → void -
Adds to sequence: ('keydown', 'keyup') events on
key
. If the special key is enter, also adds 'keypress'.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
isShiftValue(
String key) → bool