EditorState class
Represents the overall state of the editor, including snapshots, forward snapshots, and dragging state.
Constructors
Properties
- current → Editor?
-
Returns the current editor state (last snapshot if any).
no setter
-
draggedPointWithNeighbors
→ List<
LatLng> -
Returns a list of points involved in the dragging operation, including neighbors if applicable.
no setter
- dragging → Drag?
-
Information about the currently dragged point (if any).
final
-
fowardSnapshots
→ List<
Editor> -
List of undoable editor states after a redo action.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDragging → bool
-
Indicates if a point is currently being dragged.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
snapshots
→ List<
Editor> -
List of past editor states (snapshots).
final
Methods
-
copyWith(
{List< Editor> ? snapshots, List<Editor> ? fowardSnapshots, bool clearFowardSnapshots = false, Drag? dragging, bool stopDragging = false}) → EditorState - Creates a copy of the EditorState with optional modifications.
-
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