getConcaveGradients static method

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

Implementation

static List<Color> getConcaveGradients(Color baseColor, int depth) {
  return [
    getAdjustColor(baseColor, 0 - depth),
    getAdjustColor(baseColor, depth),
  ];
}