ShowImageFile constructor
const
ShowImageFile({
- required File file,
- double imageWidth = 2,
- double imageHeight = 4,
- BoxFit? fit,
- double imageCircleRadius = 35,
- bool isCircle = false,
- EdgeInsetsGeometry padding = EdgeInsets.zero,
- AlignmentGeometry alignment = Alignment.center,
- Widget onErrorImage(
- BuildContext context,
- Object error,
- 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,
});