WhiteBoardController class

Whiteboard controller for Undo, Redo, clear and saveAsImage

Constructors

WhiteBoardController()

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({ImageByteFormat format = ImageByteFormat.png}) → void
Convert Whiteboard into image data with given format. 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