reusable_bottom_sheet 0.0.4
reusable_bottom_sheet: ^0.0.4 copied to clipboard
A reusable Flutter package to easily create customizable bottom sheets with options to display a title, subtitle, child widgets, and a drag handle. It supports features like custom height, background [...]
Changelog #
All notable changes to this project will be documented in this file.
0.0.4 #
Sep 10 2025 #
Added #
- Added
AdaptiveBottomSheetclass for mobile and web/desktop with lifecycle hooks (onOpened,onClosed,onWillPop). - Refactored into modular structure (
bottom_sheet.dart,dialog_sheet.dart,sheet_content.dart). - Keyboard-safe wrapper and support for pill, title, and subtitle preserved.
- Removed
customBottomSheet.
0.0.3 #
0.0.1 #
- Introduced
customBottomSheetfunction to easily create customizable bottom sheets. - Added
showOptionBottomSheetfor displaying a list of selectable options. - Included
OptionEntity,OptionItem, andOptionListto build option-based sheets. - Added
PillGesturewidget to provide a visual drag handle for bottom sheets. - Provided basic customization options:
- Titles
- Subtitle
- Background color
- Border radius
- Custom height fraction
- Pill visibility toggle
- Callback on pop