LayerPainter constructor
LayerPainter({
- required LayerContext context,
- required ContextAccessor accessor,
启用 repaint 机制重绘 CusotmPainter
Implementation
LayerPainter({required this.context, required this.accessor}):super(repaint: context);