foregroundColor property

Color? foregroundColor
final

提示的 TextIcon 小部件后代的颜色。

这种颜色通常用来代替 textStyle 的颜色。

如果为null,则使用TxTipThemeData.foregroundColor,如果它也为空, 则使用ColorScheme.primary

Implementation

final Color? foregroundColor;