icon property Null safety
final
An optional icon to display at the top of the dialog.
Typically, an Icon widget. Providing an icon centers the title's text.
Implementation
final Widget? icon;
An optional icon to display at the top of the dialog.
Typically, an Icon widget. Providing an icon centers the title's text.
final Widget? icon;