ScenePainter constructor
- required SceneController controller,
- required ImageResolver imageResolver,
- SceneStaticLayerCache? staticLayerCache,
- SceneTextLayoutCache? textLayoutCache,
- SceneStrokePathCache? strokePathCache,
- Color selectionColor = const Color(0xFF1565C0),
- double selectionStrokeWidth = 1,
- double gridStrokeWidth = 1,
Implementation
ScenePainter({
required this.controller,
required this.imageResolver,
this.staticLayerCache,
this.textLayoutCache,
this.strokePathCache,
this.selectionColor = const Color(0xFF1565C0),
this.selectionStrokeWidth = 1,
this.gridStrokeWidth = 1,
}) : super(repaint: controller);