Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/animations/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## NEXT
## 2.1.1

* Updated the documentation for `OpenContainer.onClosed` to clarify that it is called at the start of the closing transition, not at the end.
* Updates minimum supported SDK version to Flutter 3.32/Dart 3.8.

## 2.1.0
Expand Down
3 changes: 2 additions & 1 deletion packages/animations/lib/src/open_container.dart
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ class OpenContainer<T extends Object?> extends StatefulWidget {
/// * [Material.shape], which is used to implement this property.
final ShapeBorder openShape;

/// Called when the container was popped and has returned to the closed state.
/// Called when the container is popped. This is called at the start of the
/// closing transition.
Comment on lines +193 to +194
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// Called when the container is popped. This is called at the start of the
/// closing transition.
/// Called when the container was popped and will return to the closed state.
///
/// This is called at the start of the closing transition.

///
/// The return value from the popped screen is passed to this function as an
/// argument.
Expand Down
2 changes: 1 addition & 1 deletion packages/animations/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: animations
description: Fancy pre-built animations that can easily be integrated into any Flutter application.
repository: https://github.com/flutter/packages/tree/main/packages/animations
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+animations%22
version: 2.1.0
version: 2.1.1

environment:
sdk: ^3.8.0
Expand Down