disabledColor property Null safety

Color? disabledColor
final

The color of the icon when it is disabled, i.e. if onPressed is null.

Defaults to Colors.black38 when the theme's ThemeData.brightness is Brightness.light and to Colors.white38 when it is Brightness.dark. This adheres to the Material Design specifications for icons and for dark theme

Implementation

final Color? disabledColor;