Skip to content

Conversation

@adil192
Copy link
Contributor

@adil192 adil192 commented Nov 11, 2025

Updated the documentation for OpenContainer.onClosed to clarify that it is called at the start of the closing transition, not at the end.

Resolves flutter/flutter#178314

Pre-Review Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

Footnotes

  1. This PR only affects comments/documentation.

@adil192 adil192 requested a review from hannah-hyj as a code owner November 11, 2025 18:33
@github-actions github-actions bot added p: animations triage-framework Should be looked at in framework triage labels Nov 11, 2025
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the documentation for OpenContainer.onClosed to clarify that the callback is executed at the start of the closing transition, not at the end. The change correctly reflects the component's behavior. The version in pubspec.yaml and the CHANGELOG.md have been updated accordingly. I have one suggestion to make the documentation even more explicit.

adil192 and others added 2 commits November 11, 2025 18:36
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Copy link
Member

@hannah-hyj hannah-hyj left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@justinmc justinmc left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@hannah-hyj hannah-hyj added the autosubmit Merge PR when tree becomes green via auto submit App label Nov 14, 2025
@auto-submit auto-submit bot merged commit a65a131 into flutter:main Nov 14, 2025
80 checks passed
Comment on lines +193 to +194
/// Called when the container is popped. This is called at the start of the
/// closing transition.
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.

engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 17, 2025
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Nov 17, 2025
flutter/packages@799b62c...ce44ebb

2025-11-17 [email protected] Kgp bulk update
(flutter/packages#10412)
2025-11-16 [email protected] [camera_avfoundation] Wrappers
swift migration - part 3 (flutter/packages#10293)
2025-11-15 [email protected] [ci] Update Flutter version for
`release` (flutter/packages#10425)
2025-11-15 [email protected] Manual roll Flutter from
c3f2704 to 9b5ad80 (2 revisions) (flutter/packages#10435)
2025-11-14 [email protected] Manual roll Flutter from
ee23168 to c3f2704 (5 revisions) (flutter/packages#10433)
2025-11-14 [email protected] [ci] Remove mustache_template from
allowed external deps (flutter/packages#10427)
2025-11-14 [email protected] [animations] Clarify that onClosed is
called before transition (flutter/packages#10400)
2025-11-14 [email protected] [web_benchmarks] Report correct expected
metrics for wasm (flutter/packages#10236)
2025-11-13 [email protected] [google_maps_flutter] Set properties
before adding maps objects (flutter/packages#10347)
2025-11-13 [email protected] Roll Flutter (stable) from
a0e9b9d to b45fa18 (3 revisions) (flutter/packages#10420)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected] on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App p: animations triage-framework Should be looked at in framework triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[animations] OpenContainer.onClosed's dartdoc implies it's called after fully closing

4 participants