listen
A package to notify state changes to interested listeners in pure Dart.
1.0.1
274K downloads/mo
#722 most downloaded on pub.dev
flutter/core-packages
What this package is like to depend on
Last release 23 days ago
31 Jul 2026
Release timing varies
gaps range from 8 days to 8 months
Nearly every release is documented
notes for 1 of 1 stable releases
1 version withdrawn
withdrawn after publishing
1 years old
7 releases · first in 2025
6 releases in the last 12 months
see the full history below
Release timeline
7 releases · Jun 2025 to Jul 2026Releases
latest 7-
1.0.131 Jul 2026Release notes
Open source →previous push 1.0.0 failed because it was already published (and
retracted) on pub before moving into core-package. The pub API seems to
still include it as an available version. Thus bump to 1.0.1Pre-Review Checklist
- I read the Contributor Guide and followed the process outlined
there for submitting PRs. - I read the AI contribution guidelines and understand my
responsibilities, or I am not using AI tools. - I read the Tree Hygiene page, which explains my
responsibilities. - I read and followed the Flutter style guide and ran the
auto-formatter. - I signed the CLA.
- The title of the PR starts with the name of the package surrounded
by square brackets, e.g.[vector_math] - I linked to at least one issue that this PR fixes in the
description above. - I followed the version and CHANGELOG instructions, using
semantic versioning and the repository CHANGELOG style, or I have
commented below to indicate which documented exception this PR falls
under1. - I updated/added any relevant documentation (doc comments with
///). - I added new tests to check the change I am making, or I have
commented below to indicate which test exemption this PR falls
under1. - All existing and new tests are passing.
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 thegemini-code-assistbot 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. - I read the Contributor Guide and followed the process outlined
-
1.0.004 Mar 2026 withdrawnNothing published for this version
-
1.0.0-beta.416 Jul 2026 pre-releaseRelease notes
Open source →as title
Pre-Review Checklist
- I read the Contributor Guide and followed the process outlined
there for submitting PRs. - I read the AI contribution guidelines and understand my
responsibilities, or I am not using AI tools. - I read the Tree Hygiene page, which explains my
responsibilities. - I read and followed the Flutter style guide and ran the
auto-formatter. - I signed the CLA.
- The title of the PR starts with the name of the package surrounded
by square brackets, e.g.[vector_math] - I linked to at least one issue that this PR fixes in the
description above. - I followed the version and CHANGELOG instructions, using
semantic versioning and the repository CHANGELOG style, or I have
commented below to indicate which documented exception this PR falls
under1. - I updated/added any relevant documentation (doc comments with
///). - I added new tests to check the change I am making, or I have
commented below to indicate which test exemption this PR falls
under1. - All existing and new tests are passing.
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 thegemini-code-assistbot 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. - I read the Contributor Guide and followed the process outlined
-
1.0.0-beta.311 Jul 2026 pre-releaseRelease notes
Open source →flutter/flutter treats different error differently.
For stateError when using changenotifier, it throws synchronously
for Error raise during listener callback, it uses reportError and
continue execution.Improve the Error API so that framework can tell where the error is
raisedPre-Review Checklist
- I read the Contributor Guide and followed the process outlined
there for submitting PRs. - I read the AI contribution guidelines and understand my
responsibilities, or I am not using AI tools. - I read the Tree Hygiene page, which explains my
responsibilities. - I read and followed the Flutter style guide and ran the
auto-formatter. - I signed the CLA.
- The title of the PR starts with the name of the package surrounded
by square brackets, e.g.[vector_math] - I linked to at least one issue that this PR fixes in the
description above. - I followed the version and CHANGELOG instructions, using
semantic versioning and the repository CHANGELOG style, or I have
commented below to indicate which documented exception this PR falls
under1. - I updated/added any relevant documentation (doc comments with
///). - I added new tests to check the change I am making, or I have
commented below to indicate which test exemption this PR falls
under1. - All existing and new tests are passing.
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 thegemini-code-assistbot 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.Release notes
Open source →- Updates
ErrorCallbackto pass the raw error object and originalStackTrace. - Adds an optional
ErrorContextparameter toErrorCallbackto distinguish listener errors from assertion errors.
- I read the Contributor Guide and followed the process outlined
-
1.0.0-beta.209 Jul 2026 pre-releaseRelease notes
Open source →as title
Pre-Review Checklist
- I read the Contributor Guide and followed the process outlined
there for submitting PRs. - I read the AI contribution guidelines and understand my
responsibilities, or I am not using AI tools. - I read the Tree Hygiene page, which explains my
responsibilities. - I read and followed the Flutter style guide and ran the
auto-formatter. - I signed the CLA.
- The title of the PR starts with the name of the package surrounded
by square brackets, e.g.[vector_math] - I linked to at least one issue that this PR fixes in the
description above. - I followed the version and CHANGELOG instructions, using
semantic versioning and the repository CHANGELOG style, or I have
commented below to indicate which documented exception this PR falls
under1. - I updated/added any relevant documentation (doc comments with
///). - I added new tests to check the change I am making, or I have
commented below to indicate which test exemption this PR falls
under1. - All existing and new tests are passing.
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 thegemini-code-assistbot 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. - I read the Contributor Guide and followed the process outlined
-
1.0.0-beta.107 Jul 2026 pre-releaseRelease notes
Open source →- Adjusts source code to be publishable.
- Moves source code from
flutter/fluttertoflutter/core-packages.
-
1.0.0-beta.024 Jun 2025 pre-releaseNothing published for this version