JsonMemoryImageBuilderModel constructor

const JsonMemoryImageBuilderModel(
  1. Map<String, dynamic> args, {
  2. Alignment alignment = Alignment.center,
  3. int? cacheHeight,
  4. int? cacheWidth,
  5. Rect? centerSlice,
  6. Color? color,
  7. BlendMode? colorBlendMode,
  8. Widget errorBuilder(
    1. BuildContext,
    2. Object,
    3. StackTrace?
    )?,
  9. bool excludeFromSemantics = false,
  10. FilterQuality filterQuality = FilterQuality.low,
  11. BoxFit? fit,
  12. Widget frameBuilder(
    1. BuildContext,
    2. Widget,
    3. int?,
    4. bool,
    )?,
  13. bool gaplessPlayback = false,
  14. double? height,
  15. required dynamic image,
  16. bool isAntiAlias = false,
  17. bool matchTextDirection = false,
  18. double? opacity,
  19. ImageRepeat repeat = ImageRepeat.noRepeat,
  20. double scale = 1.0,
  21. String? semanticLabel,
  22. 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,
});