IconHub constructor

IconHub({
  1. Key? key,
  2. required String assetName,
  3. bool? matchTextDirection,
  4. AssetBundle? bundle,
  5. String? package,
  6. double? width,
  7. double? height,
  8. BoxFit? fit = BoxFit.contain,
  9. AlignmentGeometry? alignment = Alignment.center,
  10. bool? allowDrawingOutsideViewBox = false,
  11. WidgetBuilder? placeholderBuilder,
  12. Color? color,
  13. BlendMode? colorBlendMode = BlendMode.srcIn,
  14. String? semanticsLabel,
  15. bool? excludeFromSemantics = false,
  16. Clip? clipBehavior = Clip.hardEdge,
})

Implementation

IconHub ({
  this.key,
  required this.assetName,
  this.matchTextDirection,
  this.bundle,
  this.package,
  this.width,
  this.height,
  this.fit = BoxFit.contain,
  this.alignment = Alignment.center,
  this.allowDrawingOutsideViewBox = false,
  this.placeholderBuilder,
  this.color,
  this.colorBlendMode = BlendMode.srcIn,
  this.semanticsLabel,
  this.excludeFromSemantics = false,
  this.clipBehavior = Clip.hardEdge,
});