ShapeValueEdit class final

A continuous edit of a shape's values, such as a slider drag, on one interaction lease: each preview performs setValues from the values at the start, commit records one undo entry and cancel restores them.

Constructors

ShapeValueEdit(DiagramInteractionLease lease, String ownerId)

Properties

hashCode → int
The hash code for this object.
no setterinherited
isActive → bool
no setter
lease → DiagramInteractionLease
final
ownerId → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel() → void
commit() → EditResult
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
preview(Map<String, Object?> patch) → EditResult
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited