-
The class used to implement the controller pattern in this library is
SnappingSheetController
. The features the above class allows the developer to conrol are:currentSnapPosition
- the current location of the snapping sheet in the screen.snapPositions
- the possible positions the snapping sheet allowed to be located in the screen.
-
The parameter controlling the snapping into position with various different animations is
snappingCurve
which is a variable of typeCurve
inside theSnapPosition
class. This value is the animation curve to this snapping position. -
Both
InkWell
andGestureDetector
provide features likeonTap
,onLongPress
, etc. However, the main advantage ofInkWell
is its ability to create a ripple effect when the user taps the button (for example: https://flutter.dev/docs/cookbook/gestures/ripples). In the other hand, the main advantage ofGestureDetector
is the variaty of properties it controlls (for example:onHorinzontalDragDown
,onVerticalDragDown
etc).
-
Notifications
You must be signed in to change notification settings - Fork 0
shakedoron/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