EraserModel class

Model about the eraser tool: coordinate computations.

Constructors

EraserModel({CropRotation rotation = CropRotation.up, List<Offset>? offsets})

Properties

cropRect ↔ Rect?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
isEmpty → bool
no setter
length → int
no setter
offsets → List<Offset>
final
rotation ↔ CropRotation
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size ← Size
no getter

Methods

getCurrentEnd() → Offset?
getCurrentStart() → Offset?
getEnd(int index) → Offset
getStart(int index) → Offset
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
panEnd() → void
panStart(Offset offset, BoxConstraints constraints) → void
panUpdate(Offset offset, BoxConstraints constraints) → void
toString() → String
A string representation of this object.
inherited
undo() → void

Operators

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