primaryAndAccentColors constant

List<ColorSwatch<Object>> const primaryAndAccentColors

A list with both primary and accent color Material color swatches.

This list is used to create a color picker that mixes and includes both the primary material colors and the accent colors in the same picker. The related colors are grouped after each other so that they come in related color order, not in primary and accent order.

Implementation

static const List<ColorSwatch<Object>> primaryAndAccentColors =
    <ColorSwatch<Object>>[
  Colors.red,
  Colors.redAccent,
  Colors.pink,
  Colors.pinkAccent,
  Colors.purple,
  Colors.purpleAccent,
  Colors.deepPurple,
  Colors.deepPurpleAccent,
  Colors.indigo,
  Colors.indigoAccent,
  Colors.blue,
  Colors.blueAccent,
  Colors.lightBlue,
  Colors.lightBlueAccent,
  Colors.cyan,
  Colors.cyanAccent,
  Colors.teal,
  Colors.tealAccent,
  Colors.green,
  Colors.greenAccent,
  Colors.lightGreen,
  Colors.lightGreenAccent,
  Colors.lime,
  Colors.limeAccent,
  Colors.yellow,
  Colors.yellowAccent,
  Colors.amber,
  Colors.amberAccent,
  Colors.orange,
  Colors.orangeAccent,
  Colors.deepOrange,
  Colors.deepOrangeAccent,
  Colors.brown,
  Colors.blueGrey,
  Colors.grey,
];