Skip to content
pubscout

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.

WASM-ready
$ flutter pub add bottom_drawer
Source repository

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.