JumpingDots constructor

JumpingDots({
  1. Key? key,
  2. int numberOfDots = 3,
  3. double radius = 10,
  4. double innerPadding = 2.5,
  5. Duration animationDuration = const Duration(milliseconds: 200),
  6. Color color = const Color(0xfff2c300),
  7. double verticalOffset = -20,
  8. int delay = 0,
})

Implementation

JumpingDots({
  super.key,
  this.numberOfDots = 3,
  this.radius = 10,
  this.innerPadding = 2.5,
  this.animationDuration = const Duration(milliseconds: 200),
  this.color = const Color(0xfff2c300),
  this.verticalOffset = -20,
  this.delay = 0,
}) : assert(verticalOffset.isFinite, "Non-finite values cannot be set as an animation offset."),
     assert(verticalOffset != 0, "Zero values (0) cannot be set as an animation offset.");