colors property
Returns a list of colors in the paletteColors, sorted from most dominant to least dominant color.
Implementation
Iterable<Color> get colors sync* {
for (final PaletteColor paletteColor in paletteColors) {
yield paletteColor.color;
}
}