Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 669 Bytes

File metadata and controls

27 lines (14 loc) · 669 Bytes

Q1:

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

Q2:

_animationController is the one who controls the animation.

  • This object is from type AnimationController

Q3:

  • GestureDetector has a lot more options and features than InkWell

  • InkWell has the options to add decorations such as colors, or ripple, etc.