AnimatedImageSpecWidget constructor

const AnimatedImageSpecWidget({
  1. ImageSpec? spec,
  2. required ImageProvider<Object> image,
  3. ImageFrameBuilder? frameBuilder,
  4. ImageLoadingBuilder? loadingBuilder,
  5. ImageErrorWidgetBuilder? errorBuilder,
  6. String? semanticLabel,
  7. bool excludeFromSemantics = false,
  8. Key? key,
  9. Duration duration = kDefaultAnimationDuration,
  10. Curve curve = Curves.linear,
  11. VoidCallback? onEnd,
  12. bool gaplessPlayback = false,
  13. bool isAntiAlias = false,
  14. bool matchTextDirection = false,
  15. Animation<double>? opacity,
})

Implementation

const AnimatedImageSpecWidget({
  this.spec,
  required this.image,
  this.frameBuilder,
  this.loadingBuilder,
  this.errorBuilder,
  this.semanticLabel,
  this.excludeFromSemantics = false,
  super.key,
  super.duration = kDefaultAnimationDuration,
  super.curve = Curves.linear,
  super.onEnd,
  this.gaplessPlayback = false,
  this.isAntiAlias = false,
  this.matchTextDirection = false,
  this.opacity,
});