titleIcon property

Widget? titleIcon
final

Optional widget shown before the dialog title text.

Use this to display a custom icon (e.g. a CustomPaint widget) next to the dialog title instead of relying on emoji characters that may not render on all platforms.

Implementation

final Widget? titleIcon;