GameIcons constructor

const GameIcons(
  1. String assetName, {
  2. Key? key,
  3. bool matchTextDirection = false,
  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,
  17. bool cacheColorFilter = false,
  18. SvgTheme? theme,
})

construct IconData

Implementation

const GameIcons(this.assetName,
    {Key? key,
    this.matchTextDirection = false,
    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,
    this.cacheColorFilter = false,
    this.theme})
    : super(key: key);