OverlayMorphState constructor

const OverlayMorphState({
  1. required double overlayProgress,
  2. required double expandProgress,
  3. required OverlayPhase phase,
  4. int currentIndex = 0,
  5. int itemCount = 0,
  6. Object? selectedItem,
  7. Rect? originRect,
  8. Rect? cardRect,
  9. Rect? fullscreenRect,
  10. bool isDragging = false,
  11. bool isAnimating = false,
  12. double velocity = 0.0,
  13. double horizontalDragOffset = 0.0,
})

Implementation

const OverlayMorphState({
  required this.overlayProgress,
  required this.expandProgress,
  required this.phase,
  this.currentIndex = 0,
  this.itemCount = 0,
  this.selectedItem,
  this.originRect,
  this.cardRect,
  this.fullscreenRect,
  this.isDragging = false,
  this.isAnimating = false,
  this.velocity = 0.0,
  this.horizontalDragOffset = 0.0,
});