textColor property
The color that will be assigned to the text and the icon. If not provided, black will be used (unless mainColor is set to black and outlined is not true, in which case white will be used).
Implementation
final Color? textColor;
The color that will be assigned to the text and the icon. If not provided, black will be used (unless mainColor is set to black and outlined is not true, in which case white will be used).
final Color? textColor;