focusColor property

Color? focusColor
final

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

In Material3, defaults to ColorScheme.onPrimaryContainer with opacity 0.1. In Material 2, it defaults to ThemeData.focusColor for the current theme.

Implementation

final Color? focusColor;