AppFlowyKeyboardService class abstract
AppFlowyKeyboardService is responsible for processing shortcut keys, like command, shift, control keys.
Usually, this service can be obtained by the following code.
final keyboardService = editorState.service.keyboardService;
/** Simulates shortcut key input*/
keyboardService?.onKey(...);
/** Enables or disables this service */
keyboardService?.enable();
keyboardService?.disable();
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
closeKeyboard(
) → void - Closes the keyboard
-
disable(
{bool showCursor = false, UnfocusDisposition disposition = UnfocusDisposition.scope}) → void - Disables shortcuts service.
-
enable(
) → void - Enables shortcuts service.
-
enableKeyBoard(
Selection selection) → void - Enable the keyboard in mobile
-
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