In the Flutter: Write Your Own Widget series, I’ll be showing you how to build your own custom widgets, based on what is available in the Flutter native libraries, so you don’t have to rely on others to keep up with the maintenance, as you would have to when using a third-party library.

So to start with something easy, I picked the AlertDialog material class. The classic AlertDialog looks like this:

Anne Oliveira

I'm a mobile developer focusing on Flutter. Here's my [very WIP] GitHub:

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store