MaterialAccentToList extension Null safety

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

on

Properties

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

Methods

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