getFlatGradients static method

List<Color> getFlatGradients(
  1. Color baseColor,
  2. int depth
)

Implementation

static List<Color> getFlatGradients(Color baseColor, int depth) {
  return [
    baseColor,
    baseColor,
  ];
}