colorIdentifier property
int
colorIdentifier
Implementation
int get colorIdentifier => _getAttribute<int>(kColorIdentifier, 0);
Required. When creating a Fund, a color_identifier
must be assigned.
A color_identifier
is an integer that corresponds to an available fund color.
These colors are predefined and not configurable.
There are 12 colors available (colors listed with their
identifiers in parentheses):
#a1a1a1 (1), #b2cf74 (2), #9ccc79 (3), #9bd3b7 (4), #81bbbc (5), #78afce (6), #d99fca (7), #c0a0d2 (8), #f19ca2 (9), #f59b79 (10), #fab676 (11), and #cfab77 (12)
pass null
to remove key from attributes
Implementation
set colorIdentifier(int? x) => (x == null)
? _attributes.remove(kColorIdentifier)
: _attributes[kColorIdentifier] = x;