WowIcon constructor
const
WowIcon(
- dynamic value, {
- Key? key,
- double? size,
- BoxFit? boxFit = BoxFit.scaleDown,
- Color? color,
- Widget? loadingWidget,
- Widget? errorWidget,
- double scale = 1.0,
- String? semanticLabel,
- bool excludeFromSemantics = false,
- Animation<
double> ? opacity, - BlendMode? colorBlendMode,
- AlignmentGeometry alignment = Alignment.center,
- ImageRepeat repeat = ImageRepeat.noRepeat,
- Rect? centerSlice,
- bool matchTextDirection = false,
- bool gaplessPlayback = false,
- bool isAntiAlias = false,
- FilterQuality filterQuality = FilterQuality.low,
- int? cacheWidth,
- int? cacheHeight,
- Color? waitingColor,
- bool saveLog = true,
Implementation
const WowIcon(
this.value, {
super.key,
this.size,
this.boxFit = BoxFit.scaleDown,
this.color,
this.loadingWidget,
this.errorWidget,
this.scale = 1.0,
this.semanticLabel,
this.excludeFromSemantics = false,
this.opacity,
this.colorBlendMode,
this.alignment = Alignment.center,
this.repeat = ImageRepeat.noRepeat,
this.centerSlice,
this.matchTextDirection = false,
this.gaplessPlayback = false,
this.isAntiAlias = false,
this.filterQuality = FilterQuality.low,
this.cacheWidth,
this.cacheHeight,
this.waitingColor,
this.saveLog = true,
}) : height = size,
width = size;