Features
- Bidirectional — slides from top or bottom via
SheetDirection.topToBottom/SheetDirection.bottomToTop - Snap behavior — snap to edges or remain at the released position via
SheetSnapBehavior.snapToEdge/SheetSnapBehavior.freePosition - Spring physics — fine-tune mass, stiffness, damping, and velocity through
SheetPhysics - Programmatic control —
open(),close(),toggle(),animateTo(height)viaFlexibleSheetController - Handle visibility — show or hide the drag handle at runtime with
showHandle()/hideHandle() - Width & alignment — optionally constrain the sheet width and align it horizontally within its parent
- Callbacks — listen to open/close state changes (
onStateChanged) and continuous height updates (onHeightChanged) - Zero dependencies — built entirely on the Flutter SDK with no external packages
Demo