- The class that implements the controller pattern is SnappingSheetController. It allows the developer to set the position of the snapping, in pixels or factor and with or without animation. Also, it allows to get information about the current state of the snapping (position, if it's currently snapping) and to control it, for example, to stop the snapping.
- The snappingCurve parameter controls the animation of the snapping.
- An advantage of InkWell is that it gives a graphic effect to tapping or other gesture, gives a way to decorate the widget. GestureDetector on the other hand, doesn't give a decorating option, but it can be used with a broader variety of gestures, deals well with a widget that changes it's size.
-
Notifications
You must be signed in to change notification settings - Fork 0
AmitR72/android-project-flutter-assignment
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published