BackgroundFill.solid constructor

const BackgroundFill.solid({
  1. @JsonKey(name: 'type') @Default(BackgroundFillType.solid) BackgroundFillType type,
  2. @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;