ImageStyle constructor
const
ImageStyle({})
Implementation
const ImageStyle(
{this.fit = BoxFit.contain,
this.width = double.infinity,
this.height = double.infinity,
this.color,
this.colorBlendMode,
this.alignment})
: assert(fit != BoxFit.scaleDown,
"Fit cannot be scaleDown. Use contain instead."),
assert(fit != BoxFit.none, "Fit cannot be none. Use contain instead.");