hoverColor property

Color? hoverColor
final

The color to use for filling the button when the button has a pointer hovering over it.

Defaults to ThemeData.hoverColor for the current theme in Material 2. In Material 3, defaults to ColorScheme.onPrimaryContainer with opacity 0.08.

Implementation

final Color? hoverColor;