SnapControllerState constructor
SnapControllerState(
- bool useCache,
- GlobalKey<
State< viewKey,StatefulWidget> > - GlobalKey<
State< boundKey,StatefulWidget> > - Offset constraintsMin,
- Offset constraintsMax,
- Offset flexibilityMin,
- Offset flexibilityMax,
- List<
SnapTarget> ? snapTargets, - double minSnapDistance,
- bool animateSnap,
- bool useFlick,
- double flickSensitivity,
- MoveCallback? onMove,
- DragCallback? onDragStart,
- DragCallback? onDragUpdate,
- DragCallback? onDragEnd,
- SnapCallback? onSnap,
Implementation
SnapControllerState(
this.useCache,
this.viewKey,
this.boundKey,
this.constraintsMin,
this.constraintsMax,
this.flexibilityMin,
this.flexibilityMax,
this.snapTargets,
this.minSnapDistance,
this.animateSnap,
this.useFlick,
this.flickSensitivity,
this.onMove,
this.onDragStart,
this.onDragUpdate,
this.onDragEnd,
this.onSnap,
);