How to Paint in Flutter

7 min readJul 5, 2019

A simple guide for learning to use the CustomPaint widget

Photo by Steve Johnson

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.


Create a new project and replace main.dart with the following code: