- 28 Sep, 2021 1 commit
-
-
Greg Spencer authored
This adds a smoke test for every single API example. It also fixes 17 tests that had bugs in them, or were otherwise broken, and even fixes one actual bug in the framework, and one limitation in the framework. The bug in the framework is that NetworkImage's _loadAsync method had await response.drain<List<int>>();, but if the response is null, it will throw a cryptic exception saying that Null can't be assigned to List<int>. The fix was just to use await response.drain<void>(); instead. The limitation is that RelativePositionedTransition takes an Animation<Rect> rect parameter, and if you want to use a RectTween with it, the value emitted there is Rect?, and one of the examples was just casting from Animation<Rect> to Animation<Rect?>, which is invalid, so I modified RelativePositionedTransition to take a Rect? and just use Rect.zero if the rect is null.
-
- 25 Aug, 2021 1 commit
-
-
Greg Spencer authored
This extracts the sample code out from the API doc comments, and places them in separate files on disk, allowing running of the examples locally, testing them, and building of slightly larger examples.
-
- 25 Jun, 2021 1 commit
-
-
Jenn Magder authored
-
- 23 Mar, 2021 1 commit
-
-
Zachary Anderson authored
* Revert "Enable dart_plugin_registry_test (#76645)" This reverts commit 109e0bb9. * Revert "Apply changes caused by https://github.com/flutter/flutter/pull/76662 (#77093)" This reverts commit cdca6485. * Revert "Disable clang format in the plugin registrants (#76662)" This reverts commit dadbd47d. * Revert "Disable warnings for the dart plugin registrant (#76561)" This reverts commit 098ece52. * Revert "Remove dart_plugin_registry_test timeouts (#76838)" This reverts commit 1610a274. * Revert "Implement dartPluginClass support for plugins (#74469)" This reverts commit b7d48062. Kick.
-
- 03 Mar, 2021 1 commit
-
-
- 28 Sep, 2020 1 commit
-
-
Jonah Williams authored
Check in linux and windows platform code now that they are stable, so that we could use in devicelab in the future. Removed the ICO from the windows example to avoid analysis check, and since it won't be important for benchmarking or UI tests
-