AnimatedIconSpecWidget constructor
const
AnimatedIconSpecWidget(
- IconData? icon, {
- required IconSpec spec,
- Key? key,
- String? semanticLabel,
- TextDirection? textDirection,
- List<
Type> modifierOrder = const [], - Curve curve = Curves.linear,
- required Duration duration,
- VoidCallback? onEnd,
Implementation
const AnimatedIconSpecWidget(
this.icon, {
required this.spec,
super.key,
this.semanticLabel,
this.textDirection,
this.modifierOrder = const [],
Curve curve = Curves.linear,
required Duration duration,
VoidCallback? onEnd,
}) : super(curve: curve, duration: duration, onEnd: onEnd);