WowIcon constructor

const WowIcon(
  1. dynamic value, {
  2. Key? key,
  3. double? size,
  4. BoxFit? boxFit = BoxFit.scaleDown,
  5. Color? color,
  6. Widget? loadingWidget,
  7. Widget? errorWidget,
  8. double scale = 1.0,
  9. String? semanticLabel,
  10. bool excludeFromSemantics = false,
  11. Animation<double>? opacity,
  12. BlendMode? colorBlendMode,
  13. AlignmentGeometry alignment = Alignment.center,
  14. ImageRepeat repeat = ImageRepeat.noRepeat,
  15. Rect? centerSlice,
  16. bool matchTextDirection = false,
  17. bool gaplessPlayback = false,
  18. bool isAntiAlias = false,
  19. FilterQuality filterQuality = FilterQuality.low,
  20. int? cacheWidth,
  21. int? cacheHeight,
  22. Color? waitingColor,
  23. 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;