iconColor property Null safety

Color? iconColor
final

Color for the Icon in the icon of this AlertDialog.

If null, DialogTheme.iconColor is used. If that is null, defaults to color scheme's ColorScheme.secondary if ThemeData.useMaterial3 is true, black otherwise.

Implementation

final Color? iconColor;