solid_bottom_sheet
0.1.13, released 2 years ago by an unverified publisher
A fully customizable bottom sheet widget easy to implement in a Scaffold.
What it does
Provides a SolidBottomSheet widget that can be placed on a Scaffold's bottomSheet property. It supports custom headers, swipe interactions, automatic swiping, visibility toggles, and a controller for programmatic control.
AI-written summary of version 0.1.13, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a custom bottom sheet with swipeable headers and body content.
- You want programmatic control over bottom sheet visibility and height via a controller.
Skip it when
- You require standard Material modal bottom sheets spawned via showModalBottomSheet.
- You need complex native-feeling nested navigation inside the sheet.
Strengths
- Easy to integrate into the Scaffold's bottomSheet property.
- Provides stream-based control and monitoring of height and visibility.
- Highly customizable header and body widgets.
Weaknesses
- Lacks an automatic shadow covering the back of the bottom sheet out-of-the-box.
- Some properties like canUserSwipe and showOnAppear are deprecated.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
SolidBottomSheet(
headerBar: Container(
height: 50,
child: Center(child: Text("Swipe me!")),
),
body: Container(
height: 30,
child: Center(child: Text("Hello! I'm a bottom sheet :D")),
),
)Alternatives
Packages that do the same job and could replace solid_bottom_sheet.
- sheet
A fully customizable draggable bottom sheet for Flutter.
73Compare - rubber
Elastic bottom sheet widget with customizable spring animation.
77Compare - flutter_in_app_pip
Provides in-app Picture-in-Picture support with customizable widget
54Compare - interactive_bottom_sheet
A customizable interactive bottom sheet that lets users interact with the screen behind it.
65Compare