Artwork constructor

const Artwork({
  1. String? bgColor,
  2. required num height,
  3. String? textColor1,
  4. String? textColor2,
  5. String? textColor3,
  6. String? textColor4,
  7. required String url,
  8. required num width,
})

Implementation

const factory Artwork({
  String? bgColor,
  required num height,
  String? textColor1,
  String? textColor2,
  String? textColor3,
  String? textColor4,
  required String url,
  required num width,
}) = _Artwork;