- 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.
-
- 20 Feb, 2020 1 commit
-
-
Dan Field authored
-
- 25 Sep, 2019 1 commit
-
-
Greg Spencer authored
This enables the manual tests to be built on a macOS desktop machine in desktop mode. I created the macos directory by using flutter create --macos
-
- 20 Sep, 2019 1 commit
-
-
stuartmorgan authored
Adds macOS support for `flutter create`: - Currently it is behind a hidden flag. - Adds a TargetPlatform workaround to lib/main.dart in the standard app template when enabled. - Supports `app` and `plugin`; `module` support doesn't yet exist for macOS in general. This will eliminate the need to use FDE's examples as templates on macOS. The templates are based on the current state of FDE's examples, with templating support added (and with adoption of the new application delegate in the app, which hadn't been done yet in FDE, eliminating some boilerplate from the template). Fixes #30703
-
- 31 Oct, 2018 1 commit
-
-
Dan Field authored
* Use Xcode build configurations to drive Flutter build mode * Proper check wrt local_engine, print error if profile mode misisng * Remove unused code, update tests, fix template problem, update warning * fix up warning * add explanatory dev comment * fix whitespace * missing words, change lambda arrow to function body * error indentation * Test early exits for xcode_backend.sh * only on macOS, use right test * Update error messages * case insensitive compare for build config * Update gallery podfile * update projects to add profile configuration * make compatible with flavors * add missing plist files * add FLUTTER_FRAMEWORK_DIR back, set swift version for profile, tell Podfile about profile
-
- 25 Sep, 2018 1 commit
-
-
Mikkel Nygaard Ravn authored
* Prototype * Fix paths to Flutter library resources * Invoke pod install as necessary for materialized modules * Add devicelab test for module use on iOS * Remove debug output * Rebase, reame materialize editable * Add devicelab test editable iOS host app * Removed add2app test section
-