Skip to main content

thing_sheet 0.0.1 copy "thing_sheet: ^0.0.1" to clipboard
thing_sheet: ^0.0.1 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.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 the motor package.
  • SpringSheetRoute — a custom PopupRoute implementation 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 isDismissable option 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.
1
likes
0
points
569
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter modal bottom sheet driven by spring physics (not a static curve/tween), with a ready-made Material Expressive visual style included.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, motor

More

Packages that depend on thing_sheet