ShowImageAsset constructor
const
ShowImageAsset({
- required String imageUrl,
- double? imageSize,
- double imageCircleRadius = 35,
- bool isCircle = false,
- Color? circleBacgroundColor,
- Color? circleBorderColor,
- double circleBorderThick = 1.0,
- Color? color,
- EdgeInsetsGeometry padding = EdgeInsets.zero,
- AlignmentGeometry alignment = Alignment.center,
- BoxFit? fit,
- Widget onErrorImage(
- BuildContext context,
- Object exception,
- StackTrace? stackTrace
- double? scale,
Implementation
const ShowImageAsset({
required this.imageUrl,
this.imageSize,
this.imageCircleRadius = 35,
this.isCircle = false,
this.circleBacgroundColor,
this.circleBorderColor,
this.circleBorderThick = 1.0,
this.color,
this.padding = EdgeInsets.zero,
this.alignment = Alignment.center,
this.fit,
this.onErrorImage,
this.scale,
});