JsonAssetImageBuilderModel constructor

const JsonAssetImageBuilderModel(
  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. bool isAntiAlias = false,
  16. bool matchTextDirection = false,
  17. required String name,
  18. double? opacity,
  19. String? package,
  20. ImageRepeat repeat = ImageRepeat.noRepeat,
  21. double? scale,
  22. String? semanticLabel,
  23. 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,
});