disabledColor property Null safety

Color? disabledColor
final

The color to use for the icon inside the button, if the icon is disabled. Defaults to the ThemeData.disabledColor of the current Theme.

The icon is disabled if onPressed is null.

Implementation

final Color? disabledColor;