DisplayImage constructor

const DisplayImage({
  1. Key? key,
  2. required String imageUrl,
  3. Color? backgroundColor,
  4. Size? size,
  5. BoxFit boxFit = BoxFit.contain,
})

Implementation

const DisplayImage({
  super.key,
  required this.imageUrl,
  this.backgroundColor,
  this.size,
  this.boxFit = BoxFit.contain,
});