AnimatedIconSpecWidget constructor

const AnimatedIconSpecWidget(
  1. IconData? icon, {
  2. required IconSpec spec,
  3. Key? key,
  4. String? semanticLabel,
  5. TextDirection? textDirection,
  6. List<Type> modifierOrder = const [],
  7. Curve curve = Curves.linear,
  8. required Duration duration,
  9. 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);