palette method Null safety

PredominantGradientBackground palette(
  1. List<Color> colors
)

Implementation

PredominantGradientBackground palette(List<Color> colors) {
  _palette = colors;
  return this;
}