VIcon.asset constructor
const
VIcon.asset(
- String asset, {
- double? height,
- double? width,
- AssetBundle? bundle,
- Widget frameBuilder(
- BuildContext,
- Widget,
- int?,
- bool,
- Widget 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,
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;