leading property

Widget? leading
final

The optional leading widget, typically an icon, displayed on the left side of the dialog header.

Type: Widget?

Usage: Use for contextual icons, such as a warning symbol in error dialogs or a calendar icon in Date-related dialogs. It is styled with large size and muted foreground color by default.

Implementation

final Widget? leading;