textColor property

Color? textColor
final

The button label color. If not provided, defaults to SnackBarThemeData.actionTextColor.

If textColor is a WidgetStateColor, then the text color will be resolved against the set of WidgetStates that the action text is in, thus allowing for different colors for states such as pressed, hovered and others.

Implementation

final Color? textColor;