AnimatedImageSpecWidget constructor
const
AnimatedImageSpecWidget({
- ImageSpec? spec,
- required ImageProvider<
Object> image, - ImageFrameBuilder? frameBuilder,
- ImageLoadingBuilder? loadingBuilder,
- ImageErrorWidgetBuilder? errorBuilder,
- String? semanticLabel,
- bool excludeFromSemantics = false,
- Key? key,
- Duration duration = kDefaultAnimationDuration,
- Curve curve = Curves.linear,
- VoidCallback? onEnd,
- bool gaplessPlayback = false,
- bool isAntiAlias = false,
- bool matchTextDirection = false,
- 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,
});