How to Paint in Flutter
A simple guide for learning to use the CustomPaint
widget
If you haven’t seen it already, you might want to start by watching the Flutter Widget of the Week video about CustomPaint. I’ll be showing how to do many of the things in that video.
Setup
Create a new project and replace main.dart with the following code: