- 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.
-
- 02 Sep, 2020 1 commit
-
-
Jenn Magder authored
-
- 06 Jul, 2016 1 commit
-
-
Adam Barth authored
We now use a different approach for ios projects where the developer controls the Xcode project file. This patch removes the old ".generated" approach in favor of the new approach.
-
- 29 May, 2016 1 commit
-
-
Adam Barth authored
This example shows how to build a basic app using a custom Xcode project. Future patches will bring the functionality up to par with hello_android.
-