thing_sheet 0.2.0
thing_sheet: ^0.2.0 copied to clipboard
A Flutter modal bottom sheet driven by spring physics (not a static curve/tween), with a ready-made Material Expressive visual style included.
0.2.0 #
- Expose new
marginparameter to setting horizontal margin from the BottomSheet
0.1.2 #
- Add
useRootNavigatorparameter to.showmethod
0.1.1 #
- Adjust ThingExpressiveSheet padding
0.1.0 #
BREAKING CHANGES
- Update Dart SDK version to
3.13.4with Flutter3.47
0.0.1 #
Initial release.
showSpringBottomSheet— shows a modal sheet anchored to the bottom of the screen with a spring-driven animation (enter: expressive spatial spring, exit: fast standard spring) using themotorpackage.SpringSheetRoute— a customPopupRouteimplementation that supports:- interactive dragging that drives the route animation directly,
- fling velocity from a released drag carried into the open/close simulation,
- overdrag resistance when the sheet is dragged past its fully-open position,
- automatic close threshold based on drag velocity or final resting position,
- an
isDismissableoption to disable closing via drag, scrim tap, and the back button, - keyboard-safe padding and accessibility/semantics labels.
ThingExpressiveSheet— a ready-to-use wrapper widget with a Material Expressive style: a rounded card, an optional drag indicator (grabber), and maximum size constraints.