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: