CachedImageWidget constructor

CachedImageWidget(
  1. {required String url,
  2. required double height,
  3. double? width,
  4. BoxFit? fit,
  5. Color? color,
  6. String? placeHolderImage,
  7. AlignmentGeometry? alignment,
  8. double? radius,
  9. bool usePlaceholderIfUrlEmpty = true,
  10. bool circle = false}
)

Implementation

CachedImageWidget({
  required this.url,
  required this.height,
  this.width,
  this.fit,
  this.color,
  this.placeHolderImage,
  this.alignment,
  this.radius,
  this.usePlaceholderIfUrlEmpty = true,
  this.circle = false,
});