bottom_sheet_bar
2.3.11, released a year ago by qrl.app
A toolbar that aligns to the bottom of a widget and expands into a bottom sheet.
What it does
Provides a BottomSheetBar widget that sits at the bottom of a screen or widget as a collapsible toolbar and expands into a full bottom sheet. Supports a body widget underneath, custom content through an expandedBuilder, and a controller to manage its state programmatically.
AI-written summary of version 2.3.11, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want a persistent bottom toolbar that expands into a full bottom sheet.
- You need scrollable or complex content to reveal from the bottom of the screen upon user interaction.
Skip it when
- You only need a standard Material bottom navigation bar or standard modal bottom sheet.
- You do not need a toolbar-to-sheet expanding mechanism.
Strengths
- Smooth transition between collapsed toolbar and expanded bottom sheet.
- Includes a controller to listen to events and programmatically expand or collapse.
- Supports customizable border radiuses, shadows, backdrop colors, and safe area wrapping.
Weaknesses
- Limited to bottom-aligned toolbars/sheets.
- Relies on external measure_size package.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
BottomSheetBar(
expandedBuilder: (scrollController) => ListView.builder(
controller: scrollController,
itemBuilder: (context, index) => ListTile(title: index.toString()),
itemCount: 50,
),
collapsed: Text('Collapsed toolbar widget'),
body: Text('Content overlayed by toolbar and bottom sheet'),
);Alternatives
Packages that do the same job and could replace bottom_sheet_bar.
- slinky_view
A bottom sheet widget that expands upward as the user scrolls.
45Compare - rubber
Elastic bottom sheet widget with customizable spring animation.
77Compare - sheet
A fully customizable draggable bottom sheet for Flutter.
73Compare - interactive_bottom_sheet
A customizable interactive bottom sheet that lets users interact with the screen behind it.
65Compare
Works with
Packages commonly used together with bottom_sheet_bar: ones it builds on, ones built on it, and its own family.