AnimatedIcon constructor
- Key? key,
- required AnimatedIconData icon,
- required Animation<
double> progress, - Color? color,
- double? size,
- String? semanticLabel,
- TextDirection? textDirection,
Creates an AnimatedIcon.
The size
and color
default to the value given by the current
IconTheme.
Implementation
const AnimatedIcon({
super.key,
required this.icon,
required this.progress,
this.color,
this.size,
this.semanticLabel,
this.textDirection,
});