bottom_drawer
0.0.5, released 5 years ago by an unverified publisher
A bottom drawer widget supporting custom headers, bodies, list bodies, and drag gestures.
What it does
Provides a customizable bottom drawer widget for Flutter that supports drag-to-open and drag-to-close interactions. It allows custom header and body content as well as list bodies, controlled via a dedicated controller.
AI-written summary of version 0.0.5, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a bottom drawer widget with custom header and body layouts.
- You want support for drag-to-open and drag-to-close drawer interactions.
Skip it when
- You require complex navigation integration with bottom sheets.
- You need advanced platform-specific modal bottom sheet implementations.
Strengths
- Supports custom drawer header and body.
- Supports drag to open and close functionality.
- Includes a controller to easily open and close the drawer programmatically.
Weaknesses
- Limited documentation and advanced customization options.
- Relies on manual height configurations like headerHeight and drawerHeight.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
BottomDrawerController controller = BottomDrawerController();
Widget buildBottomDrawer(BuildContext context) {
return BottomDrawer(
header: Container(),
body: Container(),
headerHeight: 60.0,
drawerHeight: 180.0,
color: Colors.lightBlue,
controller: controller,
);
}Alternatives
Packages that do the same job and could replace bottom_drawer.
- country_picker
A Flutter widget to pick a country from a list with optional phone code and search.
78Compare - tab_overview
Tab switcher with live thumbnails in a grid, zoom transitions, and drag-and-drop reordering.
73Compare - alphabet_list_view
A ListView with sticky headers and an iOS-like clickable sidebar.
76Compare - flutter_reorderable_list
Reorderable list for Flutter supporting slivers and large items
50Compare