Skip to content

Latest commit

 

History

History
59 lines (45 loc) · 1.73 KB

File metadata and controls

59 lines (45 loc) · 1.73 KB

Adaptive Alert Dialog (Material, Cupertino)

In many of my projects, I use a simple alert dialog that supports:

  • Adaptive mode (Material / Cupertino)
  • Default and cancel actions
  • Destructive UI style
  • Dismissible mode

Super useful for Yes/No, Cancel/Delete scenarios. 👍

See below for the source code.


Here's a gist with the source code:

Feel free to tweak and reuse it in your projects. 🙂


Previous Next
How to Initialize Firebase Remote Config Test your UI with ThemeData.platform