AccessiblyImage constructor

const AccessiblyImage({
  1. required ImageProvider<Object> image,
  2. double? width,
  3. double? height,
  4. BoxFit? fit,
  5. AlignmentGeometry alignment = Alignment.center,
  6. Color? color,
  7. BlendMode? colorBlendMode,
  8. FilterQuality filterQuality = FilterQuality.low,
  9. Widget frameBuilder(
    1. BuildContext,
    2. Widget,
    3. int?,
    4. bool,
    )?,
  10. Widget loadingBuilder(
    1. BuildContext,
    2. Widget,
    3. ImageChunkEvent?
    )?,
  11. Widget errorBuilder(
    1. BuildContext,
    2. Object,
    3. StackTrace?
    )?,
  12. String? semanticLabel,
  13. bool excludeFromSemantics = false,
  14. Animation<double>? opacity,
  15. ImageRepeat repeat = ImageRepeat.noRepeat,
  16. Rect? centerSlice,
  17. bool matchTextDirection = false,
  18. bool gaplessPlayback = false,
  19. bool isAntiAlias = false,
  20. Key? key,
})

Implementation

const AccessiblyImage({
  required this.image,
  this.width,
  this.height,
  this.fit,
  this.alignment = Alignment.center,
  this.color,
  this.colorBlendMode,
  this.filterQuality = FilterQuality.low,
  this.frameBuilder,
  this.loadingBuilder,
  this.errorBuilder,
  this.semanticLabel,
  this.excludeFromSemantics = false,
  this.opacity,
  this.repeat = ImageRepeat.noRepeat,
  this.centerSlice,
  this.matchTextDirection = false,
  this.gaplessPlayback = false,
  this.isAntiAlias = false,
  super.key,
});