textColor property
Color
get
textColor
Gets the Text Color to contrast button color
Implementation
Color get textColor {
switch (this) {
case SnapchatButtonColors.BLACK:
return const Color.fromRGBO(255, 255, 255, 1);
default:
return const Color.fromRGBO(0, 0, 0, 1);
}
}