overlayColor property

MaterialStateProperty<Color?>? overlayColor
final

The color for the radio's Material.

Resolves in the following states:

如果为 null,则在按下、聚焦和悬停状态下使用具有阿尔法 ialReactionAlpha、focusColorhoverColoractiveColor 的值。 如果它也为 null,则使用 TxRadioThemeData.overlayColor 的值。 如果它也为 null,则 ColorScheme.secondary 的值与 alpha kRadialReactionAlphaThemeData.focusColorThemeData.hoverColor 用于按下、聚焦和悬停状态。

Implementation

final MaterialStateProperty<Color?>? overlayColor;