getInteractableDrawing method
DoodleInteractableDrawing
getInteractableDrawing(
- DrawingContext drawingContext,
- GetDrawingState getDrawingState
override
Returns back the InteractableDrawing instance of this drawing tool.
getDrawingState is a callback that returns the current state of a
InteractableDrawing.
Implementation
@override
DoodleInteractableDrawing getInteractableDrawing(
DrawingContext drawingContext,
GetDrawingState getDrawingState,
) => DoodleInteractableDrawing(
config: this,
points: List<EdgePoint>.of(edgePoints),
drawingContext: drawingContext,
getDrawingState: getDrawingState,
);