JsonMemoryImageBuilderModel constructor
const
JsonMemoryImageBuilderModel(
- 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,
- required dynamic image,
- bool isAntiAlias = false,
- bool matchTextDirection = false,
- double? opacity,
- ImageRepeat repeat = ImageRepeat.noRepeat,
- double scale = 1.0,
- String? semanticLabel,
- double? width,
Implementation
const JsonMemoryImageBuilderModel(
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,
required this.image,
this.isAntiAlias = false,
this.matchTextDirection = false,
this.opacity,
this.repeat = ImageRepeat.noRepeat,
this.scale = 1.0,
this.semanticLabel,
this.width,
});