OverlayMorphState constructor
const
OverlayMorphState({
- required double overlayProgress,
- required double expandProgress,
- required OverlayPhase phase,
- int currentIndex = 0,
- int itemCount = 0,
- Object? selectedItem,
- Rect? originRect,
- Rect? cardRect,
- Rect? fullscreenRect,
- bool isDragging = false,
- bool isAnimating = false,
- double velocity = 0.0,
- 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,
});