AnimatedPathIcon constructor

const AnimatedPathIcon(
  1. PathIconData data, {
  2. required Duration duration,
  3. Curve curve = Curves.easeInOut,
  4. Key? key,
  5. double size = 24,
  6. Color color = const Color(0xFF000000),
  7. String? semanticLabel,
})

Creates an icon that animates its parameters implicitly.

The curve and duration arguments must not be null.

Implementation

const AnimatedPathIcon(
  this.data, {
  required super.duration,
  super.curve = Curves.easeInOut,
  super.key,
  this.size = 24,
  this.color = const Color(0xFF000000),
  this.semanticLabel,
});