highlightColor property Null safety

Color? highlightColor
final

The highlight color for the button's InkWell.

If this property is null, then ToggleButtonTheme.of(context).highlightColor is used. If ToggleButtonsThemeData.highlightColor is also null, then Theme.of(context).highlightColor is used.

Implementation

final Color? highlightColor;