Overview
SnappingSheet is a Flutter package that enables the creation of draggable bottom sheets which snap to predefined positions vertically and horizontally. It offers smooth, responsive transitions and supports customizable snapping points, making it ideal for interactive UIs like modals, filters, or detailed content panels. The package works across all major platforms including Android, iOS, Web, macOS, Windows, and Linux, ensuring consistent behavior. It's lightweight and integrates easily into existing Flutter projects with minimal setup.
Use cases
- Interactive bottom panels
- Filter or settings drawers
- Modal dialogs with drag-to-open
- Content expansion interfaces
- Customizable swipeable sheets
Key features
- Snap to multiple positions
- Horizontal and vertical snapping
- Smooth animations
- Cross-platform support
- Customizable snapping points
- Easy integration with existing widgets
Suitable for
- Developers building dynamic bottom sheets
- Apps needing swipeable content panels
- UIs requiring responsive sheet interactions
- Projects targeting multiple platforms
- Designers implementing gesture-driven interfaces
Considerations
- Requires careful handling of layout constraints
- May need tuning for complex nested scroll views
- Performance depends on content complexity
- Not suitable for full-screen overlays
- Limited built-in styling options
- Best used with singleChildScrollView or similar
