scrollable_bottom_sheet

A scrollable bottom sheet with ability to be expanded and scroll more

Example

Install

dependencies:
  scrollable_bottom_sheet: ^0.0.4

or

flutter pub add scrollable_bottom_sheet

##Arguments

ArgumentsDescription
bodyWidgetBody of the widget which MUST be a SliverList
headerWidgetHeader of the bottom sheet
headerHeightTo specify the height of the header widget
backgroundColorBottom sheet background color when the bottom sheet is up
backgroundOpacityopacity of the bottom sheet background when the bottom sheet is up
headerIsPinnedMakes the header widget pinned to the top when the body widget is scrolled
hasRadiusGives header a radius and when reaches top it becomes zero

How to use


// TO OPEN THE BOTTOM SHEET
BottomSheetWidget().openBottomSheet(context);

// TO CLOSE THE BOTTOM SHEET
BottomSheetWidget().closeBottomSheet();

Note

** The centerWidget MUST be a SliverList otherwise it will give an error **

When the bottom sheet is up, the back button closes the bottom sheet

New customizing features are going to be added

Libraries

BottomSheetCustomPersistentHeader
scrollable_bottom_sheet
ScrollableBottomSheet
ScrollableBottomSheetWidget