ShowImageFile constructor

const ShowImageFile({
  1. required File file,
  2. double imageWidth = 2,
  3. double imageHeight = 4,
  4. BoxFit? fit,
  5. double imageCircleRadius = 35,
  6. bool isCircle = false,
  7. EdgeInsetsGeometry padding = EdgeInsets.zero,
  8. AlignmentGeometry alignment = Alignment.center,
  9. Widget onErrorImage(
    1. BuildContext context,
    2. Object error,
    3. StackTrace? stackTrace
    )?,
})

Implementation

const ShowImageFile({
  required this.file,
  this.imageWidth = 2,
  this.imageHeight = 4,
  this.fit,
  this.imageCircleRadius = 35,
  this.isCircle = false,
  this.padding = EdgeInsets.zero,
  this.alignment = Alignment.center,
  this.onErrorImage,
});