getStringColor static method

Color getStringColor(
  1. String text
)

Implementation

static Color getStringColor(String text) {
  return getStringGradient(text).colors.first;
}