MAssetImage constructor

const MAssetImage({
  1. Key? key,
  2. double borderRadius = 0,
  3. String? name,
  4. double? height = 25,
  5. double? width = 25,
  6. BoxFit fit = BoxFit.contain,
  7. Color? color,
  8. AlignmentGeometry alignment = Alignment.center,
})

Implementation

const MAssetImage({
  Key? key,
  this.borderRadius = 0,
  this.name,
  this.height = 25,
  this.width = 25,
  this.fit = BoxFit.contain,
  this.color,
  this.alignment = Alignment.center,
}) : super(key: key);