AnimatedIconWrapper constructor
AnimatedIconWrapper({
- required AnimatedIconData icon,
- Key? key,
- Duration duration = const Duration(milliseconds: 400),
- Curve curve = Curves.linear,
- Color? color,
- double? size,
- String? semanticLabel,
- TextDirection? textDirection,
Implementation
AnimatedIconWrapper({
required this.icon,
Key? key,
this.duration = const Duration(milliseconds: 400),
this.curve = Curves.linear,
this.color,
this.size,
this.semanticLabel,
this.textDirection,
}) : super(key: key ?? GlobalKey<AnimatedIconWrapperState>());