IconX.image constructor

const IconX.image(
  1. String? assetPath, {
  2. Key? key,
  3. double? size,
  4. double? width,
  5. double? height,
  6. Color? color,
  7. bool? dot,
  8. String? badge,
  9. BoxFit? fit,
  10. String? package,
})

Implementation

const IconX.image(
  this.assetPath, {
  super.key,
  this.size,
  this.width,
  this.height,
  this.color,
  this.dot,
  this.badge,
  this.fit,
  this.package,
})  : type = IconType.image,
      iconData = null;