Skip to content

Commit

Permalink
Bump to 0.4.2 (#99)
Browse files Browse the repository at this point in the history
The last update before the upcoming breaking changes.
  • Loading branch information
fujidaiti authored Apr 21, 2024
1 parent 4963e57 commit e79cbc5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions package/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion package/lib/src/foundation/physics.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion package/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit e79cbc5

Please sign in to comment.