DrawController class

A controller for actions of drawing

Constructors

DrawController()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() → void
Clear all the strokes
convertToImage() → void
Convert current Canvas into image data with png format. This method returns immediately without waiting for convert. You can obtain converted image data via onConvert property of Crop.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
redo() bool
Redo last undo stroke Return false if there is no stroke to redo, otherwise return true.
toString() String
A string representation of this object.
inherited
undo() bool
Undo last stroke Return false if there is no stroke to undo, otherwise return true.

Operators

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