WidgetAppImage constructor

const WidgetAppImage({
  1. Key? key,
  2. required String? imageUrl,
  3. double? width,
  4. double? height,
  5. Widget? placeholderWidget,
  6. Widget? errorWidget,
  7. double radius = 0,
  8. bool assetImage = false,
  9. bool autoPrefix = true,
  10. BoxFit boxFit = BoxFit.cover,
  11. Color? color,
})

Implementation

const WidgetAppImage({
  Key? key,
  required this.imageUrl,
  this.width,
  this.height,
  this.placeholderWidget,
  this.errorWidget,
  this.radius = 0,
  this.assetImage = false,
  this.autoPrefix = true,
  this.boxFit = BoxFit.cover,
  this.color,
}) : super(key: key);