MaterialColorToList extension Null safety

Offers methods asList and toList to convert a MaterialColor into a boiled-down List<Color>.

on

Properties

asList List<Color>
Returns the shade50 .. shade900 formed List<Color> from the MaterialColor provided as this.
read-only

Methods

toList({bool includePrimary = true}) List<Color>
Returns the shade50 .. shade900 formed List<Color> from the MaterialColor provided as this. [...]