DrawingController class

Inheritance

Constructors

DrawingController({WhiteboardDraw draw, bool enableChunk = false})

Properties

brushColor Color
read / write
brushSize double
read / write
draw WhiteboardDraw
read / write, inherited
enableChunk bool
final
erase bool
read / write
eraserSize double
read / write
firstPointTime DateTime
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
lastPan DateTime
read / write
readonly bool
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sizeChangedController StreamController<Size>
final, inherited
streamController StreamController<WhiteboardDraw>
final, inherited
toolbox bool
final, inherited
toolboxOptions ToolboxOptions
final, inherited

Methods

close() → dynamic
override
getDraw() WhiteboardDraw
inherited
initializeSize(double width, double height) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
onChange() Stream<WhiteboardDraw>
inherited
onChunk() Stream<DrawChunk>
onPanEnd() → dynamic
override
onPanUpdate(Offset position) → dynamic
override
onSizeChange() Stream<Size>
inherited
toString() String
A string representation of this object. [...]
inherited
undo() → dynamic
wipe() → dynamic

Operators

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