MaterialColorToList extension

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.
no setter

Methods

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