ExImageView constructor

const ExImageView({
  1. required String source,
  2. Key? key,
  3. Map<String, String>? headers,
  4. double? height,
  5. double? width,
  6. double? size,
  7. Color? borderColor = Colors.transparent,
  8. Color? backgroundColor = Colors.transparent,
  9. double? borderWidth = 1,
  10. double radius = 8,
  11. BoxFit boxFit = BoxFit.cover,
  12. Widget? errorWidget,
  13. double? padding,
  14. String? package,
})

Implementation

const ExImageView({
  required this.source,
  super.key,
  this.headers,
  this.height,
  this.width,
  this.size,
  this.borderColor = Colors.transparent,
  this.backgroundColor = Colors.transparent,
  this.borderWidth = 1,
  this.radius = 8,
  this.boxFit = BoxFit.cover,
  this.errorWidget,
  this.padding,
  this.package,
});