stupid_simple_sheet 0.8.0
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
SheetBackgroundwidget as a replacement. Wrap your content inSheetBackgroundto 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
backgroundColortoStupidSimpleSheetRoute.
0.6.3 #
-
FIX: improve clipping of overlayed sheets.
-
FEAT: add
shapeparameter toStupidSimpleCupertinoSheetRoute.Deprecated
topRadiusparameter 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
topRadiusto cupertino sheet.This allows matching the iOS 26.0 appearance more closely
-
FEAT: add
originateAboveBottomViewInsettoStupidSimpleSheetand its mixin.
0.6.1 #
- FEAT: add
draggableparameter to sheets that can be used to disable user drags (#206).
0.6.0+1 #
- FIX:
overrideSnappingConfigandanimateToRelativecould 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,
effectiveSnappingConfigwas introduced onStupidSimpleSheetTransitionMixin, which should be used for all snapping configuration calculations instead ofsnappingConfig. If you only setsnappingConfigand 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]UserGestureby default to match Flutter sheets.You can restore the old behavior by passing
callNavigatorUserGestureMethods = trueto your sheet route
0.4.2 #
- FEAT: add
StupidSimpleSheetControllerthat 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
onlyDragWhenScrollWasAtTopand 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
clearBarrierImmediatelysetting that allows the route to make underlying routes interactible straight away (#183).
0.3.0+1 #
- FIX: routes below
StupidSimpleCupertinoSheetRoutetook 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
snapToEndin 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).