icon property

Widget? icon
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;