A new Flutter project.
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
- The class is "SnappingSheetController" With this class you can control the snapping sheet. You can use it to open, close, snap to a specific position, etc.
- The parameter nappingCurve allows you to set the curve of the snapping animation. The default value is Curves.easeOutCubic.
- The main difference is GestureDetector provides more controls like dragging etc. while InkWell provides only the tap functionality, on the other hand, InkWell is more customizable and have a ripple effect when touching the button.