CharacterShortcutEvent class

Defines the implementation of shortcut event based on character.

Constructors

CharacterShortcutEvent({required String key, required String character, required CharacterShortcutEventHandler handler})

Properties

character String
The character to trigger the shortcut event.
getter/setter pair
handler CharacterShortcutEventHandler
/ The handler to handle the shortcut event.
final
hashCode int
The hash code for this object.
no setteroverride
key String
The unique key.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? key, String? character, CharacterShortcutEventHandler? handler}) CharacterShortcutEvent
execute(EditorState editorState) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
updateCharacter(String newCharacter) → void

Operators

operator ==(Object other) bool
The equality operator.
override