standardItemTypes property

String standardItemTypes

Implementation

String get standardItemTypes => _getAttribute<String>(kStandardItemTypes, '');
void standardItemTypes=(String? x)

An array of hashes that maps an item type to a color:

{ name: "Header", color: "#FFFFFF" }

Valid names are Header, Song, and Media.

A color is the hexadecimal value of a valid color e.g. #FFFFFF Valid colors values are #e8f6df, #e0f7ff, #e6e2fd, #ffe0e8, #ffedd1, #cfcfcf, #eaebeb, and #ffffff

pass null to remove key from attributes

Implementation

set standardItemTypes(String? x) => (x == null)
    ? _attributes.remove(kStandardItemTypes)
    : _attributes[kStandardItemTypes] = x;