Flutter Canvas I - Wrap your FAB in a custom progress loader

Last updated 2 years ago by Jorge Castillo


I start this Flutter series writing about how to paint to Canvas in Flutter, and how to use it to create our own circled progress loader around a FloatingActionButton ✨


Flutter provides support for painting to canvas, as almost every other framework that has a rendering side. There are some very didactic posts written by @NieBin available in this repo that were enlightening for me. Take a look if you’re interested in custom painting in Flutter.

Overall, and if you come from Android like me, you’ll might not find many new features into the Flutter Paint and Canvas, but that doesn’t mean they’re not powerful. They’re as powerful as their Android counterparts. Actually almost any existing Android code for painting to Canvas might be easily translatable almost 1 to 1 to Flutter. So you can port all your old custom views!

Read full Article