DrawingToolManager class

Constructors

DrawingToolManager()

Properties

currentDrawingTool DrawingTool?
no setter
currentToolType DrawingToolType?
no setter
hashCode int
The hash code for this object.
no setterinherited
onToolsChanged VoidCallback?
getter/setter pair
onToolSelected ValueChanged<DrawingTool?>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedTool DrawingTool?
no setter
tools List<DrawingTool>
no setter

Methods

addTestTools() → void
cancelDrawing() → void
clearAllTools() → void
clearSelection() → void
deleteSelectedTool() → void
deleteTool(String id) → void
deserializeTools(List<Map<String, dynamic>> data) → void
drawTools(Canvas canvas, Size size, double scaleX, double scrollX, double getX(double), double getY(double)) → void
finishDrawing() → void
getToolsByType(DrawingToolType type) List<DrawingTool>
moveSelectedTool(Offset delta) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
selectTool(Offset point) → void
serializeTools() List<Map<String, dynamic>>
setCurrentToolType(DrawingToolType? type) → void
setToolVisibility(String id, bool visible) → void
startDrawing(Offset point, {Map<String, dynamic>? properties}) → void
toString() String
A string representation of this object.
inherited
updateDrawing(Offset point) → void
updateToolProperties(String id, Map<String, dynamic> properties) → void

Operators

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