mantleTestPalette function

MantleColor mantleTestPalette(
  1. int seed
)

10-shade palette whose red channel is seed.

Implementation

MantleColor mantleTestPalette(int seed) {
  return MantleColor([
    for (var i = 0; i < 10; i++) Color.fromARGB(255, seed, i * 25, 100),
  ]);
}