AnimatedIcon constructor
Creates an AnimatedIcon.
The progress
and icon
arguments must not be null.
The size
and color
default to the value given by the current IconTheme.
Implementation
const AnimatedIcon({
Key key,
@required this.icon,
@required this.progress,
this.color,
this.size,
this.semanticLabel,
this.textDirection,
}) : assert(progress != null),
assert(icon != null),
super(key: key);