random property
NamedColor
get
random
A random color from the list of named colors.
Implementation
static NamedColor get random => values.randomItem!;
A random color from the list of named colors.
static NamedColor get random => values.randomItem!;