Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
cd404cb
Initial empty repository
chadj-at-google Apr 19, 2013
9d87bdb
PaginatedDataTable (part 1) (#4306)
Hixie Jun 1, 2016
96ea8b1
Improve change notifier (#4747)
abarth Jun 24, 2016
d01e723
Extract a Listenable base class from Animation and ChangeNotifier (#5…
abarth Sep 15, 2016
d9864bd
Listenable.merge (#7256)
Hixie Dec 15, 2016
9d65f65
Allow nulls in `Listenable.merge` (#7355)
Hixie Jan 5, 2017
bb7e470
Fix several minor bugs and add many tests (#7506)
abarth Jan 17, 2017
6d203b3
Add more asserts and docs to ChangeNotifier. (#7513)
Hixie Jan 17, 2017
272bf81
Strengthen animation listener iteration patterns (#7537)
abarth Jan 19, 2017
68b4408
Revert "Strengthen animation listener iteration patterns" (#7552)
abarth Jan 19, 2017
b1b3a3a
Strengthen animation listener iteration patterns (#7566)
abarth Jan 20, 2017
96638c9
Various documentation fixes. (#7726)
Hixie Jan 30, 2017
42eec87
Add ValueNotifier (#8463)
abarth Feb 28, 2017
01db474
Animation Demo performance tweaks (#8586)
Mar 6, 2017
a5c8643
Remove imports of meta (#9081)
xster Mar 29, 2017
8944495
Change foundation references in foundation to meta (#9107)
xster Mar 31, 2017
70df312
Rationalize text input widgets (#9119)
abarth Apr 2, 2017
56c23e9
Better toStrings for Listenable subclasses (#9244)
Hixie Apr 6, 2017
a27c379
Simplify change notifier toString and handle nulls (#9368)
xster Apr 13, 2017
8fc391c
More docs. (#10214)
Hixie May 24, 2017
cd92d1c
More documentation (#10589)
Hixie Jun 9, 2017
d6afe09
Change all ocurrences of '$runtimeType#$hashCode' to use the idAndTyp…
jacob314 Jun 21, 2017
7ccc66f
Revert "Change all ocurrences of '$runtimeType#$hashCode' to use the …
jacob314 Jun 21, 2017
5073ca0
Change all occurrences of '$runtimeType#$hashCode' to use the describ…
jacob314 Jun 21, 2017
304b836
Add Diagnosticable base class and add documentation. (#11458)
jacob314 Aug 3, 2017
c5dbe8a
use bool in assert (#12170)
a14n Sep 21, 2017
d73d2f2
Fix spelling errors in all the dartdocs. (#13061)
gspencergoog Nov 17, 2017
819a86c
Fix the confusing-zero case with NestedScrollView. (#14133)
Hixie Jan 19, 2018
5ac0c48
some whitespace cleanup (#14443)
a14n Feb 2, 2018
aa09370
Add a hasListeners to ChangeNotifier (#14946)
Hixie Mar 1, 2018
95833ae
Unnecessary new (#20138)
a14n Sep 12, 2018
9f0c67f
[H] Created a variant of InheritedWidget specifically for Listenables…
Hixie Oct 27, 2018
4df45c6
Allow ChangeNotifier to be mixed in again (#23631)
Hixie Oct 30, 2018
79a07e8
make see also sections uniform (#25513)
a14n Dec 18, 2018
2e5e5dc
Fix Listenable.merge to not leak (#26313)
goderbauer Jan 10, 2019
e53d414
Remove all obsolete "// ignore:" (#27271)
goderbauer Jan 30, 2019
9f540b4
[H] Add ImageStreamCompleter.hasListeners (and cleanup) (#25865)
Hixie Jan 31, 2019
9db4560
Add missing trailing commas (#28673)
a14n Mar 1, 2019
1943d3b
fix block formatting (#29051)
a14n Mar 9, 2019
b3ffe82
some spaces formatting (#29452)
a14n Mar 20, 2019
dbe4fcf
Merge pull request #1 from flutter/master
Piinks Mar 26, 2019
cd40650
Be more explicit when ValueNotifier notifies (#30461)
goderbauer Apr 4, 2019
697fd8a
Merge pull request #2 from flutter/master
Piinks Apr 16, 2019
b2de769
Refactor core uses of FlutterError. (#30983)
jacob314 May 1, 2019
18c2173
Merge pull request #4 from flutter/master
Piinks May 2, 2019
5ffde26
Enable web foundation tests (#34032)
Jun 9, 2019
e2e4637
fix some bad indentations (#41172)
a14n Sep 24, 2019
d32ce98
Add more structure to errors (continuation of #34684) (#42640)
Oct 28, 2019
0ec0398
License update (#45373)
Hixie Nov 27, 2019
810376c
enable lint prefer_final_in_for_each (#47724)
a14n Jan 7, 2020
d9ee358
Avoid using FlutterError.fromParts when possible (#43696)
albertusdev Feb 20, 2020
339c692
Add sample for InheritedNotifier, convert two others to DartPa… (#52349)
gspencergoog Mar 10, 2020
17fee01
Revise Action API (#42940)
gspencergoog Apr 7, 2020
ce9ac67
Skip Audits (2) (#53837)
Piinks Apr 8, 2020
83cd6c8
Opt out nnbd in packages/flutter (#59186)
a14n Jun 11, 2020
10cfd9f
migrate foundation to nullsafety (#61188)
a14n Jul 15, 2020
5bdef1c
Minor doc updates (#62008)
tvolkert Jul 23, 2020
1c8b916
[null-safety] update to several framework test cases/APIs for null as…
Aug 12, 2020
58f5d9e
Use a LinkedList to improve the performance of ChangeNotifier (#62330)
rrousselGit Aug 26, 2020
275639f
Migrate foundation test to nullsafety (#62616)
dkwingsmt Oct 5, 2020
55e8144
Mark keys that match a shortcut, but have no action defined as "not h…
gspencergoog Oct 19, 2020
522ee23
enable prefer_function_declarations_over_variables lint (#77398)
goderbauer Mar 6, 2021
51ec7dd
add missing trailing commas (#79299)
a14n Mar 30, 2021
7ef249e
Improve the performances of ChangeNotifier (#71947)
letsar Apr 14, 2021
4b1afec
Treat some exceptions as unhandled when a debugger is attached (#78649)
goderbauer Apr 15, 2021
281c9cc
add trailing commas in flutter/test/{foundation,gestures} (#80926)
a14n Apr 22, 2021
3708399
Enable unnecessary_null_checks lint (#82084)
Abhishek01039 May 14, 2021
4d3ba21
Add space before curly parentheses. (#85306)
asashour Jul 1, 2021
e6f1fe6
Ban sync*/async* from user facing code (#95050)
dnfield Dec 12, 2021
db58b92
Enable no_leading_underscores_for_local_identifiers (#96422)
goderbauer Jan 21, 2022
d56a7bb
Allow remove listener on disposed change notifier (#97988)
chunhtai Feb 9, 2022
4e3f6de
Add explanation to ChangeNotifier (#98295)
chunhtai Feb 16, 2022
924a507
feat: Added docstring examples to AnimatedBuilder and ChangeNotifier …
albertodev01 Feb 28, 2022
add8552
Fix `deprecated_new_in_comment_reference` for `material` library (#10…
guidezpl Mar 21, 2022
aa119f2
super parameters for framework (#100905)
goderbauer Apr 14, 2022
421aa08
Add ShortcutsRegistry (#103456)
gspencergoog May 19, 2022
e8b6f5f
Use `curly_braces_in_flow_control_structures` for `foundation`, `gest…
guidezpl May 25, 2022
84291d8
Switch debugAssertNotDisposed to be a static (#104772)
gspencergoog May 31, 2022
8357f49
Export public API types from foundation/*.dart library. (#105648)
a14n Jun 9, 2022
512daf9
Export public API types from foundation/scheduler/gestures/semantics …
a14n Jun 24, 2022
81eccbb
Update docs on ChangeNotifier.dispose and KeepAliveHandle.release (#1…
dnfield Jul 26, 2022
7c188c9
Can call ChangeNotifier.hasListeners after disposed (#108931)
chunhtai Aug 4, 2022
b3e1f65
Create class MemoryAllocations. (#110230)
polina-c Sep 10, 2022
79d4342
Fix references to symbols to use brackets instead of backticks (#111331)
gspencergoog Sep 12, 2022
40e4a35
Fix performance regression. (#111615)
polina-c Sep 15, 2022
8416b3b
Instrument State, Layer, RenderObject and Element. (#111328)
polina-c Sep 20, 2022
0938fa6
Disallow dispose during listener callback (#114530)
chunhtai Nov 18, 2022
4c21004
Add ListenableBuilder with examples (#116543)
gspencergoog Dec 7, 2022
08c4a47
Bump lower Dart SDK constraints to 3.0 & add class modifiers (#122546)
goderbauer Mar 21, 2023
cab8202
Documentation improvements (#122787)
Hixie Mar 22, 2023
49307e5
Define testWidgetsWithLeakTracking. (#125063)
polina-c May 4, 2023
04ad53c
Add spaces after flow control statements (#126320)
tgucio May 15, 2023
e82973f
Unpin leak_tracker and handle breaking changes in API. (#132352)
polina-c Aug 14, 2023
a36a590
Enable ChangeNotifier clients to dispatch event of object creation in…
polina-c Aug 23, 2023
f65fd8c
Users of ChangeNotifier should dispatch event of object creation in c…
polina-c Aug 24, 2023
913635b
Resolve breaking change of adding a method to ChangeNotifier. (#134953)
polina-c Sep 18, 2023
c0b00ad
Revert "Resolve breaking change of adding a method to ChangeNotifier.…
zanderso Sep 18, 2023
6e2a9da
Reland Resolve breaking change of adding a method to ChangeNotifier. …
polina-c Sep 19, 2023
256262c
Remove usage of testWidgetsWithLeakTracking. (#140239)
polina-c Dec 15, 2023
1f15ca1
Rename MemoryAllocations to FlutterMemoryAllocations. (#140623)
polina-c Jan 2, 2024
438e8ab
Allow `Listenable.merge()` to use any iterable (#143675)
nate-thegrate Feb 26, 2024
e0f2c97
Docimports for foundation (#151119)
goderbauer Jul 2, 2024
47b385f
Merge flutter/engine into framework
jtmcdole Dec 17, 2024
a66609f
Trigger Build (#160476)
jtmcdole Dec 17, 2024
7021ea2
Auto-format Framework (#160545)
goderbauer Dec 19, 2024
687de53
Clean up leak tracker instrumentation tech debt. (#164070)
polina-c Feb 25, 2025
d4cdb11
Flutter test cleanup (#170891)
kevmoo Jun 24, 2025
ba68d78
Bump Dart to 3.8 and reformat (#171703)
Piinks Jul 7, 2025
a1b43b0
Modernize framework lints (#179089)
Piinks Nov 26, 2025
b3464f1
Improve documentation about ValueNotifier's behavior (#179870)
AbdeMohlbi Jan 6, 2026
7aeb1ff
Update doc in foundation to match the style guide (#181972)
chunhtai Feb 6, 2026
18fa787
Moves change notifier with history
chunhtai Jun 4, 2026
98f6fde
Adds listenable package
chunhtai Jun 11, 2026
2bc4b7a
Fix repository best practice validations and license checks
chunhtai Jun 12, 2026
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
6 changes: 6 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
- any-glob-to-any-file:
- packages/vector_math/**/*

'p: listen':
- changed-files:
- any-glob-to-any-file:
- packages/listen/**/*

'triage-framework':
- changed-files:
- any-glob-to-any-file:
- packages/vector_math/**/*
- packages/listen/**/*
1 change: 1 addition & 0 deletions .repo_tool_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ allowed_dependencies:
- build_runner
- build_test
- build_web_compilers
- meta
- path
- test
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ These are the packages hosted in this repository:
| Package | Pub | Points | Usage | Issues | Pull requests |
|---------|-----|--------|-------|--------|---------------|
| [vector\_math](./packages/vector_math/) | [![pub package](https://img.shields.io/pub/v/vector_math.svg)](https://pub.dev/packages/vector_math) | [![pub points](https://img.shields.io/pub/points/vector_math)](https://pub.dev/packages/vector_math/score) | [![downloads](https://img.shields.io/pub/dm/vector_math)](https://pub.dev/packages/vector_math/score) | [![GitHub issues by-label](https://img.shields.io/github/issues/flutter/flutter/p%3A%20vector_math?label=)](https://github.com/flutter/flutter/labels/p%3A%20vector_math) | [![GitHub pull requests by-label](https://img.shields.io/github/issues-pr/flutter/core-packages/p%3A%20vector_math?label=)](https://github.com/flutter/core-packages/labels/p%3A%20vector_math) |
| [listen](./packages/listen/) | [![pub package](https://img.shields.io/pub/v/listen.svg)](https://pub.dev/packages/listen) | [![pub points](https://img.shields.io/pub/points/listen)](https://pub.dev/packages/listen/score) | [![downloads](https://img.shields.io/pub/dm/listen)](https://pub.dev/packages/listen/score) | [![GitHub issues by-label](https://img.shields.io/github/issues/flutter/flutter/p%3A%20listen?label=)](https://github.com/flutter/flutter/labels/p%3A%20listen) | [![GitHub pull requests by-label](https://img.shields.io/github/issues-pr/flutter/core-packages/p%3A%20listen?label=)](https://github.com/flutter/core-packages/labels/p%3A%20listen) |
9 changes: 9 additions & 0 deletions packages/listen/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.children
.project
.DS_Store
packages
pubspec.lock
.pub
.packages
.dart_tool
.idea
6 changes: 6 additions & 0 deletions packages/listen/AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Below is a list of people and organizations that have contributed
# to the project. Names should be added to the list like so:
#
# Name/Organization <email address>

Google Inc.
3 changes: 3 additions & 0 deletions packages/listen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 0.1.0

- Initial version.
25 changes: 25 additions & 0 deletions packages/listen/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Copyright 2013 The Flutter Authors

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13 changes: 13 additions & 0 deletions packages/listen/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# listen

A lightweight synchronous listener registry for pure Dart applications.

## Getting started

Add this package to your `pubspec.yaml` dependencies.

## Usage

```dart
import 'package:listen/listen.dart';
```
2 changes: 2 additions & 0 deletions packages/listen/ci_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# TODO(stuartmorgan): Remove this; see https://github.com/flutter/flutter/issues/102679
exempt_from_excerpts: true
8 changes: 8 additions & 0 deletions packages/listen/lib/listen.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Copyright 2013 The Flutter Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

/// A lightweight synchronous listener registry.
library;

export 'src/listen.dart';
Loading