AnimatedIconWrapper constructor

AnimatedIconWrapper({
  1. required AnimatedIconData icon,
  2. Key? key,
  3. Duration duration = const Duration(milliseconds: 400),
  4. Curve curve = Curves.linear,
  5. Color? color,
  6. double? size,
  7. String? semanticLabel,
  8. 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>());