StepperSwipe constructor

StepperSwipe({
  1. Key? key,
  2. required int initialValue,
  3. @Deprecated('use minValue:0 instead') bool withNaturalNumbers = false,
  4. bool withBackground = true,
  5. required ValueChanged<int> onChanged,
  6. Axis direction = Axis.horizontal,
  7. bool withSpring = true,
  8. Color counterTextColor = Colors.white,
  9. Color dragButtonColor = const Color(0xFF9874f8),
  10. Color iconsColor = Colors.white,
  11. bool withPlusMinus = false,
  12. Duration firstIncrementDuration = const Duration(milliseconds: 250),
  13. Duration secondIncrementDuration = const Duration(milliseconds: 100),
  14. int speedTransitionLimitCount = 3,
  15. int maxValue = 50,
  16. int minValue = -50,
  17. bool withFastCount = false,
  18. required int stepperValue,
})

Implementation

StepperSwipe({
 Key? key,
 required this.initialValue,
 @Deprecated('use minValue:0 instead')
 this.withNaturalNumbers = false,
 this.withBackground = true,
 required this.onChanged,
 this.direction = Axis.horizontal,
 this.withSpring = true,
 this.counterTextColor = Colors.white,
 this.dragButtonColor = const Color(0xFF9874f8),
 this.iconsColor = Colors.white,
 this.withPlusMinus = false,
 this.firstIncrementDuration =  const Duration(milliseconds: 250),
 this.secondIncrementDuration =  const Duration(milliseconds: 100),
 this.speedTransitionLimitCount =  3,
 this.maxValue=50,
 this.minValue=-50,
 this.withFastCount=false,
 required this.stepperValue,


  }) : super(key: key);