focusColor property Null safety

Color? focusColor
final

The color to use for filling the button when the button has input focus.

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

Implementation

final Color? focusColor;