This is a BottomSheet with a draggable height like the Google Maps App on Android.
If you have suggestions or find bugs please write an issue at github. PR's are welcome.
How to use it?
Just look into the example Tab
|expandableContent||This is the widget which you can hide and show by dragging. It has to be a widget with a constant height.|
|background||This is the widget behind the |
|persistentHeader||This is a Widget which is on top of the |
|persistentFooter||This is a widget which is always shown at the bottom. The |
|persistentContentHeight||This is the height of the content which will never been contracted. It only relates to |
|animationDurationExtend||This is the duration for the animation if you stop dragging with high speed.|
|animationDurationContract||is the duration for the animation to bottom if you stop dragging with high speed. If it is |
|animationCurveExpand||This is the curve of the animation for expanding the |
|animationCurveContract||This is the curve of the animation for contracting the |
|onIsExtendedCallback||This will be executed if the extend reaches its maximum.|
|onIsContractedCallback||This will be executed if the extend reaches its minimum.|