IconHub constructor
IconHub({
- Key? key,
- required String assetName,
- bool? matchTextDirection,
- AssetBundle? bundle,
- String? package,
- double? width,
- double? height,
- BoxFit? fit = BoxFit.contain,
- AlignmentGeometry? alignment = Alignment.center,
- bool? allowDrawingOutsideViewBox = false,
- WidgetBuilder? placeholderBuilder,
- Color? color,
- BlendMode? colorBlendMode = BlendMode.srcIn,
- String? semanticsLabel,
- bool? excludeFromSemantics = false,
- 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,
});