A look at using one of Flutter’s Dialog Widgets

There is a lot going on ‘under the hood’ when you display what you would think is a simple dialog window with some text and some buttons. See in the screenshot below how the background darkens when presenting to the user a small box with its message and buttons. While the AlertDialog widget is involved in this presentation, there are other widgets working behind the scenes. This article will discuss briefly what’s truly involved as well as give an extensive tour of what makes up the widget, AlterDialog.