asList property Null safety

List<Color> asList

Returns the shade50 .. shade700 formed List<Color> from the MaterialAccentColor provided as this.

Implementation

List<Color> get asList => [
      shade50,
      shade100,
      shade200,
      shade400,
      shade700,
    ];