SnapControllerState constructor

SnapControllerState(
  1. bool useCache,
  2. GlobalKey<State<StatefulWidget>> viewKey,
  3. GlobalKey<State<StatefulWidget>> boundKey,
  4. Offset constraintsMin,
  5. Offset constraintsMax,
  6. Offset flexibilityMin,
  7. Offset flexibilityMax,
  8. List<SnapTarget>? snapTargets,
  9. double minSnapDistance,
  10. bool animateSnap,
  11. bool useFlick,
  12. double flickSensitivity,
  13. MoveCallback? onMove,
  14. DragCallback? onDragStart,
  15. DragCallback? onDragUpdate,
  16. DragCallback? onDragEnd,
  17. 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,
);