VIcon.asset constructor

const VIcon.asset(
  1. String asset, {
  2. double? height,
  3. double? width,
  4. AssetBundle? bundle,
  5. Widget frameBuilder(
    1. BuildContext,
    2. Widget,
    3. int?,
    4. bool,
    )?,
  6. Widget errorBuilder(
    1. BuildContext,
    2. Object,
    3. StackTrace?
    )?,
  7. String? semanticLabel,
  8. bool excludeFromSemantics,
  9. double? scale,
  10. Animation<double>? opacity,
  11. BlendMode? colorBlendMode,
  12. BoxFit? fit,
  13. AlignmentGeometry alignment,
  14. ImageRepeat repeat,
  15. Rect? centerSlice,
  16. bool matchTextDirection,
  17. bool gaplessPlayback,
  18. bool isAntiAlias,
  19. String? package,
  20. FilterQuality filterQuality,
  21. int? cacheWidth,
  22. int? cacheHeight,
})

Implementation

const factory VIcon.asset(
  String asset, {
  double? height,
  double? width,
  AssetBundle? bundle,
  Widget Function(BuildContext, Widget, int?, bool)? frameBuilder,
  Widget Function(BuildContext, Object, StackTrace?)? errorBuilder,
  String? semanticLabel,
  bool excludeFromSemantics,
  double? scale,
  Animation<double>? opacity,
  BlendMode? colorBlendMode,
  BoxFit? fit,
  AlignmentGeometry alignment,
  ImageRepeat repeat,
  Rect? centerSlice,
  bool matchTextDirection,
  bool gaplessPlayback,
  bool isAntiAlias,
  String? package,
  FilterQuality filterQuality,
  int? cacheWidth,
  int? cacheHeight,
}) = _VIconAsset;