randomColors method

List<Color> randomColors(
  1. int count,
  2. List<Color> colors
)

Implementation

List<Color> randomColors(int count, List<Color> colors) => List.generate(
    count, (i) => colors[Random(seedToInt + i).nextInt(colors.length)]);