TextInputKeyMap class
Key map for text input navigation and editing.
- Implemented types
Constructors
- TextInputKeyMap({KeyBinding? characterForward, KeyBinding? characterBackward, KeyBinding? wordForward, KeyBinding? wordBackward, KeyBinding? deleteWordBackward, KeyBinding? deleteWordForward, KeyBinding? deleteAfterCursor, KeyBinding? deleteBeforeCursor, KeyBinding? deleteCharacterBackward, KeyBinding? deleteCharacterForward, KeyBinding? lineStart, KeyBinding? lineEnd, KeyBinding? paste, KeyBinding? copy, KeyBinding? acceptSuggestion, KeyBinding? nextSuggestion, KeyBinding? prevSuggestion})
- Creates a text input key map with default bindings.
Properties
- acceptSuggestion → KeyBinding
-
Accept current suggestion.
final
- characterBackward → KeyBinding
-
Move cursor backward one character.
final
- characterForward → KeyBinding
-
Move cursor forward one character.
final
- copy → KeyBinding
-
Copy to clipboard.
final
- deleteAfterCursor → KeyBinding
-
Delete all text after cursor.
final
- deleteBeforeCursor → KeyBinding
-
Delete all text before cursor.
final
- deleteCharacterBackward → KeyBinding
-
Delete character before cursor.
final
- deleteCharacterForward → KeyBinding
-
Delete character after cursor.
final
- deleteWordBackward → KeyBinding
-
Delete word before cursor.
final
- deleteWordForward → KeyBinding
-
Delete word after cursor.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lineEnd → KeyBinding
-
Move cursor to end of line.
final
- lineStart → KeyBinding
-
Move cursor to start of line.
final
- nextSuggestion → KeyBinding
-
Move to next suggestion.
final
- paste → KeyBinding
-
Paste from clipboard.
final
- prevSuggestion → KeyBinding
-
Move to previous suggestion.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wordBackward → KeyBinding
-
Move cursor backward one word.
final
- wordForward → KeyBinding
-
Move cursor forward one word.
final
Methods
-
fullHelp(
) → List< List< KeyBinding> > -
Returns bindings for the full help view, grouped by columns.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shortHelp(
) → List< KeyBinding> -
Returns bindings for the short help view.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited