DonutAnimation constructor

DonutAnimation({
  1. Duration speed = const Duration(milliseconds: 30),
  2. Duration? duration,
  3. bool loop = true,
  4. int width = 40,
  5. int height = 20,
})

Implementation

DonutAnimation({
  super.speed = const Duration(milliseconds: 30), // ~30 FPS
  super.duration,
  super.loop = true,
  this.width = 40,
  this.height = 20,
});