IconX.svg constructor

const IconX.svg(
  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.svg(
  this.assetPath, {
  super.key,
  this.size,
  this.width,
  this.height,
  this.color,
  this.dot,
  this.badge,
  this.fit,
  this.package,
})  : type = IconType.svg,
      iconData = null;