CustomPainter constructor Null safety
- {Listenable? repaint}
Creates a custom painter.
The painter will repaint whenever repaint
notifies its listeners.
Implementation
const CustomPainter({ Listenable? repaint }) : _repaint = repaint;
Creates a custom painter.
The painter will repaint whenever repaint
notifies its listeners.
const CustomPainter({ Listenable? repaint }) : _repaint = repaint;