BackgroundFill.solid constructor
const
BackgroundFill.solid({
- @JsonKey(name: 'type') @Default(BackgroundFillType.solid) BackgroundFillType type,
- @JsonKey(name: 'color') required int color,
Constructs a BackgroundFillSolid
instance
Implementation
const factory BackgroundFill.solid({
/// Type of the background fill - always `solid`
@JsonKey(name: 'type')
@Default(BackgroundFillType.solid)
BackgroundFillType type,
@JsonKey(name: 'color') required final int color,
}) = BackgroundFillSolid;