ShortcutOptions class

Class that defines keyboard shortcut options for various actions in the PolarisMapEditor.

Constructors

ShortcutOptions({required List<List<LogicalKeyboardKey>> undo, required List<List<LogicalKeyboardKey>> redo, required List<List<LogicalKeyboardKey>> search, required List<List<LogicalKeyboardKey>> zoomIn, required List<List<LogicalKeyboardKey>> zoomOut, required List<List<LogicalKeyboardKey>> fitCameraToArea, List<List<LogicalKeyboardKey>>? deletePoint})
Default constructor for ShortcutOptions.
const

Properties

deletePoint List<List<LogicalKeyboardKey>>?
Key combinations for the "delete point" action (optional).
final
fitCameraToArea List<List<LogicalKeyboardKey>>
Key combinations for the "fit camera to area" action.
final
hashCode int
The hash code for this object.
no setterinherited
redo List<List<LogicalKeyboardKey>>
Key combinations for the "redo" action.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
Key combinations for the "search" action.
final
undo List<List<LogicalKeyboardKey>>
Key combinations for the "undo" action.
final
zoomIn List<List<LogicalKeyboardKey>>
Key combinations for the "zoom in" action.
final
zoomOut List<List<LogicalKeyboardKey>>
Key combinations for the "zoom out" action.
final

Methods

copyWith({List<List<LogicalKeyboardKey>>? undo, List<List<LogicalKeyboardKey>>? redo, List<List<LogicalKeyboardKey>>? search, List<List<LogicalKeyboardKey>>? zoomIn, List<List<LogicalKeyboardKey>>? zoomOut, List<List<LogicalKeyboardKey>>? fitCameraToArea, List<List<LogicalKeyboardKey>>? deletePoint}) ShortcutOptions
Creates a copy of this ShortcutOptions object with optional overrides.
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