HbIcon constructor

const HbIcon({
  1. Key? key,
  2. double? width,
  3. double? height,
  4. Color? color,
  5. Widget? defaultIcon,
  6. Widget? errorIcon,
  7. String? icon,
  8. BoxFit? fit,
  9. GestureTapCallback? onTap,
  10. bool rounded = false,
  11. String? package,
})

Implementation

const HbIcon({
  super.key,
  this.width,
  this.height,
  this.color,
  this.defaultIcon,
  this.errorIcon,
  this.icon,
  this.fit,
  this.onTap,
  this.rounded = false,
  this.package,
});