backgroundColor property

  1. @JsonKey(includeIfNull: false, fromJson: _$ColorFromJson, toJson: _$ColorToJson)
Color? backgroundColor
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;