textColor property

Color? textColor
final

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

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

Implementation

final Color? textColor;