InternetImage constructor
InternetImage(})
Implementation
InternetImage(
this.url, {
Key? key,
this.width,
this.height,
this.fit = BoxFit.fill,
this.placeholder,
this.color,
this.errorWidget,
this.progressIndicatorWidget,
this.shape,
this.borderRadius,
this.border,
this.imageFit,
this.cacheWidth,
this.cacheHeight,
}) : super(key: key) {
if (width != null && height == null) height = width;
if (width == null && height != null) width = height;
if (width == null && height != null) {
width = 60;
height = 60;
}
}