DiagramToolGesture class final
Custom gestures preview verbs through one interaction lease: each sample replaces the last and the gesture commits one undo entry.
Constructors
- DiagramToolGesture({required String label, required DiagramToolPreview preview, DiagramToolPreview? complete, bool autoPan = false})
-
const
Properties
- autoPan → bool
-
Whether dragging near viewport edges may pan the camera.
The canvas navigation policy must also enable edge panning.
final
- complete → DiagramToolPreview?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String
-
final
- preview → DiagramToolPreview
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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