WidgetAppImage constructor

const WidgetAppImage({
  1. Key? key,
  2. required String? imageUrl,
  3. double? width,
  4. double? height,
  5. Widget? placeholderWidget,
  6. Widget? errorWidget,
  7. bool assetImage = false,
  8. bool autoPrefix = true,
  9. BoxFit boxFit = BoxFit.cover,
  10. Color? color,
  11. Map<String, String>? headers,
  12. double radius = 0,
  13. BorderRadius? borderRadius,
  14. Widget imageBuilder(
    1. BuildContext context,
    2. Widget child
    )?,
})

Implementation

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