backgroundColor property
- @JsonKey(includeIfNull: false, fromJson: _$ColorFromJson, toJson: _$ColorToJson)
getter/setter pair
The background color in RGB hex. Value only. Do not include a preceding #. For example, 0xFFB6C1 (light pink). The default value is 0x000000 (black).
Implementation
@JsonKey(
includeIfNull: false, fromJson: _$ColorFromJson, toJson: _$ColorToJson)
Color? backgroundColor;