CardCarouselState constructor

const CardCarouselState({
  1. required double verticalProgress,
  2. required int currentIndex,
  3. required CardPhase phase,
  4. bool isDragging = false,
  5. bool isAnimating = false,
  6. double velocity = 0.0,
  7. int itemCount = 0,
})

Implementation

const CardCarouselState({
  required this.verticalProgress,
  required this.currentIndex,
  required this.phase,
  this.isDragging = false,
  this.isAnimating = false,
  this.velocity = 0.0,
  this.itemCount = 0,
});