stupid_simple_sheet 0.8.0 copy "stupid_simple_sheet: ^0.8.0" to clipboard
stupid_simple_sheet: ^0.8.0 copied to clipboard

A simple sheet widget for Flutter.

0.8.0 #

Note: This release has breaking changes.

  • FIX: dragging up from a snap point doesn't perform one frame of scroll before transitioning to dragging anymore.

  • DOCS: updated docs with more cookbooks and all settings.

  • BREAKING FEAT: removed clip, background color and shape from StupidSimpleSheetRoute.

    Added a SheetBackground widget as a replacement. Wrap your content in SheetBackground to get the same effect as before.

    This was done to allow more flexibility in customizing the sheet's appearance.

0.7.0 #

Note: This release has breaking changes.

  • FIX: clip behavior wasn't respected in sheets.
  • BREAKING FEAT: add backgroundColor to StupidSimpleSheetRoute.

0.6.3 #

  • FIX: improve clipping of overlayed sheets.

  • FEAT: add shape parameter to StupidSimpleCupertinoSheetRoute.

    Deprecated topRadius parameter in favor of it.

0.6.2+3 #

  • FIX: don't interfere with pop() animation while sheet is being dragged.

0.6.2+2 #

  • FIX: stop bounce when scrolling down while sheet is at top.

0.6.2+1 #

  • DOCS: fixed an incorrect changelog entry.

0.6.2 #

  • FEAT: add topRadius to cupertino sheet.

    This allows matching the iOS 26.0 appearance more closely

  • FEAT: add originateAboveBottomViewInset to StupidSimpleSheet and its mixin.

0.6.1 #

  • FEAT: add draggable parameter to sheets that can be used to disable user drags (#206).

0.6.0+1 #

  • FIX: overrideSnappingConfig and animateToRelative could interrupt sheet dismissal and break Navigator (#205).

0.6.0 #

Note: This release has breaking changes.

  • BREAKING FEAT: allow overriding the current sheet's snapping config from its controller (#203).

    For this, effectiveSnappingConfig was introduced on StupidSimpleSheetTransitionMixin, which should be used for all snapping configuration calculations instead of snappingConfig. If you only set snappingConfig and didn't do your own calculations with its values, you don't need to change anything.

0.5.0 #

Note: This release has breaking changes.

  • BREAKING FIX: don't call Navigator.did[Start|Stop]UserGesture by default to match Flutter sheets.

    You can restore the old behavior by passing callNavigatorUserGestureMethods = true to your sheet route

0.4.2 #

  • FEAT: add StupidSimpleSheetController that can be used from a sheets subtree for imperative control.

0.4.1 #

  • FIX: velocity scaling when overdragging with resistance.
  • FIX: secondary animation in cupertino sheet.
  • FEAT: cupertino sheet can now be dragged over its limits with resistance.
  • FEAT: sheets support snapping points now.
  • FEAT: cupertino sheet top padding is based on safe area now.

0.4.0+2 #

  • Update a dependency to the latest release.

0.4.0+1 #

  • Update a dependency to the latest release.

0.4.0 #

Note: This release has breaking changes.

  • BREAKING FEAT: add onlyDragWhenScrollWasAtTop and default to true.

    This allows sheets to prevent closing accidentally when the user just wanted to scroll to the top, especially in short lists. It matches iOS default behavior.

0.3.1 #

  • FEAT: add clearBarrierImmediately setting that allows the route to make underlying routes interactible straight away (#183).

0.3.0+1 #

  • FIX: routes below StupidSimpleCupertinoSheetRoute took too long to become interactable (#180).

0.3.0 #

  • Graduate package to a stable release. See pre-releases prior to this version for changelog entries.

0.3.0-dev.3 #

  • FIX: import internal from package:meta again.

0.3.0-dev.2 #

  • FEAT: add clip behavior option to sheet (#173).

0.3.0-dev.1 #

  • FIX: don't render overscroll indicators while we drag.
  • FIX: only pay attention to drags on the axis we care about.
  • FIX: only pay attention to relevant axes.

0.3.0-dev.0 #

  • BUILD: fixed package versioning

0.0.2-dev.2 #

  • FIX: default to snapToEnd in sheet motions for compatibility with the latest motor update.

0.0.2-dev.1 #

  • Update a dependency to the latest release.

0.0.2-dev.0+1 #

  • FIX: sheets don't incorrectly use an old drag end velocity anymore.

0.0.2 #

  • FIX: remove hard-coded padding from sheet (#155).
  • FEAT: stupid simple sheet and drag detector (#154).