MaterialColorToList extension
Offers methods asList and toList to convert a MaterialColor into a
boiled-down List<Color>
.
Properties
-
asList
→ List<
Color> -
Returns the
shade50 .. shade900
formedList<Color>
from the MaterialColor provided asthis
.no setter
Methods
-
toList(
{bool includePrimary = true}) → List< Color> -
Returns the
shade50 .. shade900
formedList<Color>
from the MaterialColor provided asthis
.