MNetworkImage constructor

const MNetworkImage({
  1. Key? key,
  2. double borderRadius = 0,
  3. String url = "",
  4. double? height = 25,
  5. double? width = 25,
  6. BoxFit fit = BoxFit.contain,
  7. bool hideLoader = false,
  8. Color? color,
  9. AlignmentGeometry alignment = Alignment.center,
})

Implementation

const MNetworkImage({
  Key? key,
  this.borderRadius = 0,
  this.url = "",
  this.height = 25,
  this.width = 25,
  this.fit = BoxFit.contain,
  this.hideLoader = false,
  this.color,
  this.alignment = Alignment.center,
}) : super(key: key);