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