- 18 Nov, 2022 1 commit
-
-
chunhtai authored
* Disallow dispose during listener callback * addressing comment * add comments to code * Addressing comments * fix test
-
- 04 Aug, 2022 1 commit
-
-
chunhtai authored
-
- 31 May, 2022 1 commit
-
-
Greg Spencer authored
This reverts part of the change made in #103456 to expose a debug check for subclasses of ChangeNotifier to avoid code duplication. Instead of making debugAssertNotDisposed a public instance function, it is now a public static function. It makes it harder to call, slightly, but it means that everyone who implemented ChangeNotifier instead of extending it doesn't get broken.
-
- 14 Apr, 2022 1 commit
-
-
Michael Goderbauer authored
-
- 09 Feb, 2022 1 commit
-
-
chunhtai authored
-
- 14 May, 2021 1 commit
-
-
Abhishek Ghaskata authored
-
- 22 Apr, 2021 1 commit
-
-
Alexandre Ardhuin authored
-
- 14 Apr, 2021 1 commit
-
-
Romain Rastel authored
-
- 06 Mar, 2021 1 commit
-
-
Michael Goderbauer authored
-
- 05 Oct, 2020 1 commit
-
-
Tong Mu authored
* Migrate
-
- 26 Aug, 2020 1 commit
-
-
Remi Rousselet authored
* Use a LinkedList in ChangeNotifier implementation to take O(N^2) notification time to O(N)
-
- 12 Aug, 2020 1 commit
-
-
Jonah Williams authored
-
- 11 Jun, 2020 1 commit
-
-
Alexandre Ardhuin authored
* add language version 2.8 in packages/flutter * enable non-nullable analyzer flag
-
- 08 Apr, 2020 1 commit
-
-
Kate Lovett authored
-
- 27 Nov, 2019 1 commit
-
-
Ian Hickson authored
* Update project.pbxproj files to say Flutter rather than Chromium Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright. * Update the copyright notice checker to require a standard notice on all files * Update copyrights on Dart files. (This was a mechanical commit.) * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine. Some were already marked "The Flutter Authors", not clear why. Their dates have been normalized. Some were missing the blank line after the license. Some were randomly different in trivial ways for no apparent reason (e.g. missing the trailing period). * Clean up the copyrights in non-Dart files. (Manual edits.) Also, make sure templates don't have copyrights. * Fix some more ORGANIZATIONNAMEs
-
- 28 Oct, 2019 1 commit
-
-
Albertus Angga Raharja authored
* Add structured errors in Animations, TabView, ChangeNotifier * Add structured error on MaterialPageRoute, BoxBorder, DecorationImagePainter, TextSpan * Add structured errors in Debug * Fix test errors * Add structured errors in Scaffold and Stepper * Add structured errors in part of Rendering Layer * Fix failing test due to FloatingPoint precision * Fix failing tests due to precision error and not using final * Fix failing test due to floating precision error with RegEx instead * Add structured error in CustomLayout and increase test coverage * Add structured error & its test in ListBody * Add structured error in ProxyBox and increase test coverage * Add structured error message in Viewport * Fix styles and add more assertions on ErrorHint and DiagnosticProperty * Add structured error in scheduler/binding and scheduler/ticker Signed-off-by: Albertus Angga Raharja <albertusangga@google.com> * Add structured error in AssetBundle and TextInput Signed-off-by: Albertus Angga Raharja <albertusangga@google.com> * Add structured errors in several widgets #1 Signed-off-by: Albertus Angga Raharja <albertusangga@google.com> * Remove unused import Signed-off-by: Albertus Angga Raharja <albertusangga@google.com> * Add assertions on hint messages Signed-off-by: Albertus Angga Raharja <albertusangga@google.com> * Fix catch spacing Signed-off-by: Albertus Angga Raharja <albertusangga@google.com> * Add structured error in several widgets part 2 and increase code coverage Signed-off-by: Albertus Angga Raharja <albertusangga@google.com> * Add structured error in flutter_test/widget_tester * Fix floating precision accuracy by using RegExp Signed-off-by: Albertus Angga Raharja <albertusangga@google.com> * Remove todo to add tests in Scaffold showBottomSheet Signed-off-by: Albertus Angga Raharja <albertusangga@google.com> * Fix reviews by indenting lines and fixing the assertion orders Signed-off-by: Albertus Angga Raharja <albertusangga@google.com> * Fix failing tests due to renaming class Signed-off-by: Albertus Angga Raharja <albertusangga@google.com> * Try skipping the NetworkBundleTest Signed-off-by: Albertus Angga Raharja <albertusangga@google.com> * Remove leading space in material/debug error hint Signed-off-by: Albertus Angga Raharja <albertusangga@google.com>
-
- 24 Sep, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 09 Jun, 2019 1 commit
-
-
Jonah Williams authored
-
- 09 Mar, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 31 Jan, 2019 1 commit
-
-
Ian Hickson authored
* Remove stray extra space * Add ImageStreamCompleter.hasListeners (and cleanup) This is mostly just some cleanup of stuff I ran into, but it makes `hasListeners` protected on `ImageStreamCompleter`, because otherwise there's no way to track if listeners are registered or not. * Address review comments
-
- 10 Jan, 2019 1 commit
-
-
Michael Goderbauer authored
-
- 30 Oct, 2018 1 commit
-
-
Ian Hickson authored
Luckily this class didn't actually need to extend its superclass, it only implements the interface. So we can change `extends` to `implements` and that's close enough, while allowing the class to be mixed in again.
-
- 12 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * fix tests
-
- 01 Mar, 2018 1 commit
-
-
Ian Hickson authored
I found that some ValueListeners want to know when they should start doing work (e.g. if the value comes from polling a network resource).
-
- 02 Feb, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 13 Apr, 2017 1 commit
-
-
xster authored
-
- 28 Feb, 2017 1 commit
-
-
Adam Barth authored
It's common to have a ChangeNotifier that wraps a single value. This class makes that easy by providing a generic implementation.
-
- 19 Jan, 2017 2 commits
-
-
Adam Barth authored
-
Adam Barth authored
This patch aligns the iteration patterns used by animations and ChangeNotifier. They now both respect re-entrant removal of listeners and coalesce duplication registrations. (Also, ChangeNotifier notification is no longer N^2). Fixes #7533
-
- 17 Jan, 2017 2 commits
-
-
Ian Hickson authored
It took me a while to figure out what was going on (I was removing a listener after disposal). These asserts helped.
-
Adam Barth authored
* MultiTapGestureRecognizer previously would assert if there was no competition. * GestureArenaTeam would always select the first recongizer as the winner even if a later recognizer actually accepted the pointer sequence. * debugPrintStack would fail a type check if maxFrames was non-null. * FractionalOffset.lerp would throw a null-pointer exception if its second argument was null. Also, add a number of tests for previously untested lines of code.
-
- 05 Jan, 2017 1 commit
-
-
Ian Hickson authored
This lets you use `Listenable.merge` without having to sanitize your incoming list of change notifiers, in case your semantics are that they are optional.
-
- 15 Dec, 2016 1 commit
-
-
Ian Hickson authored
Sometimes you have several listenables, but you want to hand them to an API (e.g. CustomPainter) that only expects one.
-
- 24 Jun, 2016 1 commit
-
-
Adam Barth authored
This patch improves some subtle behaviors about the change notifier.
-
- 01 Jun, 2016 1 commit
-
-
Ian Hickson authored
This introduces the key parts of a paginated data table, not including the built-in pagination features. * Provide more data for the data table demo, so there's data to page. * Introduce a ChangeNotifier class which abstracts out addListener/removeListener/notifyListeners. We might be able to use this to simplify existing classes as well, though this patch doesn't do that. * Introduce DataTableSource, a delegate for getting data for data tables. This will also be used by ScrollingDataTable in due course. * Introduce PaginatedDataTable, a widget that wraps DataTable and only shows N rows at a time, fed by a DataTableSource.
-