getColor static method

Color? getColor(
  1. String name
)

Get a color by name from the configured color palette.

Returns the color if found, otherwise returns null.

Implementation

static Color? getColor(String name) => _colors[name];