NiceAnimatedIcon constructor

const NiceAnimatedIcon({
  1. Key? key,
  2. required IconData icon,
  3. double size = 24,
  4. Color? color,
  5. NiceAnimationType animation = NiceAnimationType.spin,
  6. Duration duration = const Duration(seconds: 1),
  7. bool paused = false,
})

Implementation

const NiceAnimatedIcon({
  super.key,
  required this.icon,
  this.size = 24,
  this.color,
  this.animation = NiceAnimationType.spin,
  this.duration = const Duration(seconds: 1),
  this.paused = false,
});