AppImageViewer constructor

const AppImageViewer({
  1. Key? key,
  2. String? imageSource,
  3. XFile? pickedFile,
  4. double? scale,
  5. BoxFit? fit,
  6. Widget? placeholder,
  7. Widget? errorWidget,
  8. double? width,
  9. double? height,
  10. double? borderRadius,
  11. Clip? clipBehavior = Clip.antiAlias,
  12. bool isCircular = false,
  13. Color? backgroundColor,
})

Implementation

const AppImageViewer({
  super.key,
  this.imageSource,
  this.pickedFile,
  this.scale,
  this.fit,
  this.placeholder,
  this.errorWidget,
  this.width,
  this.height,
  this.borderRadius,
  this.clipBehavior = Clip.antiAlias,
  this.isCircular = false,
  this.backgroundColor,
});