CanvasElement constructor
CanvasElement([
- BindingContext? context
Implementation
CanvasElement([BindingContext? context])
: super(
context,
isReplacedElement: true,
isDefaultRepaintBoundary: true,
defaultStyle: _defaultStyle,
) {
painter = CanvasPainter(repaint: repaintNotifier);
}