ShowImageAsset constructor

const ShowImageAsset({
  1. required String imageUrl,
  2. double? imageSize,
  3. double imageCircleRadius = 35,
  4. bool isCircle = false,
  5. Color? circleBacgroundColor,
  6. Color? circleBorderColor,
  7. double circleBorderThick = 1.0,
  8. Color? color,
  9. EdgeInsetsGeometry padding = EdgeInsets.zero,
  10. AlignmentGeometry alignment = Alignment.center,
  11. BoxFit? fit,
  12. Widget onErrorImage(
    1. BuildContext context,
    2. Object exception,
    3. StackTrace? stackTrace
    )?,
  13. 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,
});