From e79cbc525cae6afb731314079af4e79f34e8f14b Mon Sep 17 00:00:00 2001 From: Daichi Fujita <68946713+fujidaiti@users.noreply.github.com> Date: Sun, 21 Apr 2024 20:49:41 +0900 Subject: [PATCH] Bump to 0.4.2 (#99) The last update before the upcoming breaking changes. --- package/CHANGELOG.md | 6 ++++++ package/lib/src/foundation/physics.dart | 2 +- package/pubspec.yaml | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package/CHANGELOG.md b/package/CHANGELOG.md index b4b7e9cc..17af6048 100644 --- a/package/CHANGELOG.md +++ b/package/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.4.2 Apr 21, 2024 + +- Add new SheetNotifications for drag events (#92) +- Add SheetTheme (#93) +- Add a way to specify default physics and default ancestor physics (#96) + ## 0.4.1 Mar 20, 2024 - Fix mistakes in the documentation of `BottomBarVisibility` and `ConditionalStickyBottomBarVisibility` which may mislead readers. diff --git a/package/lib/src/foundation/physics.dart b/package/lib/src/foundation/physics.dart index a420f41b..0c2ddaa2 100644 --- a/package/lib/src/foundation/physics.dart +++ b/package/lib/src/foundation/physics.dart @@ -17,7 +17,7 @@ const kDefaultSheetSpring = SpringDescription( stiffness: 100.0, // Use a pre-calculated value to define the spring as a const variable. // See the implementation of withDampingRatio() for the formula. - damping: 15.5563491861, + damping: 15.5563491861, // 1.1 * 2.0 * sqrt(0.5 * 100.0) ); const _minSettlingDuration = Duration(milliseconds: 160); diff --git a/package/pubspec.yaml b/package/pubspec.yaml index 756fc5eb..c19d29b5 100644 --- a/package/pubspec.yaml +++ b/package/pubspec.yaml @@ -1,6 +1,6 @@ name: smooth_sheets description: Sheet widgets with smooth motion and great flexibility. Also supports nested navigation in both imperative and declarative ways. -version: 0.4.1 +version: 0.4.2 repository: https://github.com/fujidaiti/smooth_sheets environment: