sheet
1.0.1, released 4 months ago by an unverified publisher
A fully customizable draggable bottom sheet for Flutter.
What it does
Provides a Sheet widget that can be placed inside any page or pushed as a modal SheetRoute to your navigator. It supports custom min/max extents, resizable content, and programmatic position control using a SheetController.
AI-written summary of version 1.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a draggable bottom sheet embedded inside a page or as a route.
- You require fine-grained control over sheet extents, min/max bounds, and resizability.
- You want to sync animations with the sheet's position via a SheetController.
Skip it when
- You are using a Flutter version older than 3.19 (which is required by version 1.0.1).
Strengths
- Fully customizable draggable bottom sheet behavior and bounds.
- Supports both inline page usage (via Sheet widget) and navigation routes (via SheetRoute and SheetPage).
- Provides a SheetController for programmatic movement and animation synchronization.
Weaknesses
- Requires Flutter 3.19 or higher.
- Documentation is somewhat sparse with features marked as TBD.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Add the sheet package to your pubspec with flutter pub add sheet.
Sheet(
initialExtent: 200,
child: Container(color: Colors.blue[100]),
)Alternatives
Packages that do the same job and could replace sheet.
- rubber
Elastic bottom sheet widget with customizable spring animation.
77Compare - image_compare_slider
Compare two images with a slider, handle, zoom, pan, and rotation.
66Compare - animated_toggle_switch
Fully customizable, draggable and animated switch widget with multiple choices and loading animation.
65Compare - interactive_bottom_sheet
A customizable interactive bottom sheet that lets users interact with the screen behind it.
65Compare