KeyboardRecorder class
This class handles the recording of keyboard macros.
Its by glued by default to the keyboard Invoker class as recorder parameter.
Example usage:
final keyboardInvoker = KeyboardInvoker();
keyboardInvoker.recorder.startRecording();
... type something ...
keyboardInvoker.recorder.stopRecording();
keyboardInvoker.recorder.invokeRecording();
Constructors
- KeyboardRecorder.new(KeyboardInvoker _keyboardInvoker)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- includeDelays ↔ bool
-
getter/setter pair
- isRecording → bool
-
no setter
-
recordedKeys
↔ List<
KeyRecording> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- staticDelay ↔ Duration
-
getter/setter pair
Methods
-
clearRecording(
) → void - Clears the recorded macro.
-
invokeRecording(
{bool? forceNumState}) → Future< void> - This function invokes the recorded macro List on the host system.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startRecording(
) → void - This function starts the macro recording, by adding the key listener to the hardware keyboard, and setting the state to recording.
-
stopRecording(
) → void - This function stops the macro recording, by removing the key listener from the hardware keyboard, and setts the state to not recording.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited