The class which implements the controller is SnappingSheetController.
Features:
-
snapToPosition - set a specific position in the sheet (with animation)
-
setSnappingSheetPosition – same but without animation.
-
currentPosition – get current position in the sheet
-
currentlySnapping – check if the sheet is currently snapping
-
stopCurrentSnapping – stop current snapping
_animationController is the one who controls the animation.
- This object is from type AnimationController
-
GestureDetector has a lot more options and features than InkWell
-
InkWell has the options to add decorations such as colors, or ripple, etc.