JsonAssetImageBuilderModel constructor
const
JsonAssetImageBuilderModel(
- Map<
String, dynamic> args, { - Alignment alignment = Alignment.center,
- int? cacheHeight,
- int? cacheWidth,
- Rect? centerSlice,
- Color? color,
- BlendMode? colorBlendMode,
- Widget errorBuilder()?,
- bool excludeFromSemantics = false,
- FilterQuality filterQuality = FilterQuality.low,
- BoxFit? fit,
- Widget frameBuilder(
- BuildContext,
- Widget,
- int?,
- bool,
- bool gaplessPlayback = false,
- double? height,
- bool isAntiAlias = false,
- bool matchTextDirection = false,
- required String name,
- double? opacity,
- String? package,
- ImageRepeat repeat = ImageRepeat.noRepeat,
- double? scale,
- String? semanticLabel,
- double? width,
Implementation
const JsonAssetImageBuilderModel(
super.args, {
this.alignment = Alignment.center,
this.cacheHeight,
this.cacheWidth,
this.centerSlice,
this.color,
this.colorBlendMode,
this.errorBuilder,
this.excludeFromSemantics = false,
this.filterQuality = FilterQuality.low,
this.fit,
this.frameBuilder,
this.gaplessPlayback = false,
this.height,
this.isAntiAlias = false,
this.matchTextDirection = false,
required this.name,
this.opacity,
this.package,
this.repeat = ImageRepeat.noRepeat,
this.scale,
this.semanticLabel,
this.width,
});