September 2019
Beginner
512 pages
12h 52m
English
The paint() method is where the CustomPainter does its job. It gets called whenever the widget is requested to redraw. This is what it looks like:
void paint ( Canvas canvas, Size size)
The only two arguments it receives are as follows:
Paint operations should remain inside the given area. This is what the documentation says:
Read now
Unlock full access