MImage constructor
const
MImage(})
Implementation
const MImage(
this.source, {
super.key,
this.color,
this.fit,
double? height,
this.placeholder,
this.progressIndicatorBuilder,
this.showIndicator = true,
double? width,
double? size,
this.scale,
this.package,
this.bundle,
}) : assert(placeholder == null || progressIndicatorBuilder == null),
width = width ?? size,
height = height ?? size;