ImageContent constructor

const ImageContent({
  1. String? id,
  2. required String url,
  3. BoxFit? fit,
  4. double? width,
  5. double? height,
})

Implementation

const ImageContent({
  super.id,
  required this.url,
  this.fit,
  this.width,
  this.height,
}) : super(contentType: type);