IconX.icon constructor

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

Implementation

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