WhiteBoardController class
Whiteboard controller for Undo, Redo, clear and saveAsImage
Constructors
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 viaonConvert
property ofCrop
. -
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 returntrue
. -
toString(
) → String -
A string representation of this object.
inherited
-
undo(
) → bool -
Undo last stroke
Return
false
if there is no stroke to undo, otherwise returntrue
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited