Source link: https://github.com/nisrulz/flutter-examples
Here an example how to create alert dialog with flutter. We can use it as message dialog etc,
Using Alert Dialog
A material design alert dialog.
An alert dialog informs the user about situations that require acknowledgement. An alert dialog has an optional title and an optional list of actions. The title is displayed above the content and the actions are displayed below the content.
For help getting started with Flutter, view online documentation.