This renames the "module" template to the "application" template, and makes "application" the default. The existing "app" template is now deprecated.
flutter create also now recognizes the type of project in an existing directory, and is able to recreate it without having the template type explicitly specified (although you can still do that). It does this now by first looking in the .metadata file for the new project_type field, and if it doesn't find that, then it looks at the directory structure. Also, the .metadata file is now overwritten even on an existing directory so that 1) the project_type can be added to legacy projects, and 2) the version of Flutter that updated the project last is updated.
I also cleaned up a bunch of things in create_test.dart, added many more tests, and added an example test to the test/ directory in the generated output of the application template.
Fixes#22530Fixes#22344
* added sample code for scaffold widget [#21136]
* Fixed indent and spacing for scaffold sample code
* Update scaffold.dart
Fix one more formatting issue
Previously flutter_tools had used "gradle properties" to find the build types
and flavors supported by the Gradle project. Tasks should work more reliably
across different versions of the Android Gradle plugin.
Fixes https://github.com/flutter/flutter/issues/20781
* Adding Changelog URL to the README.md file
* Update README to match the latest version on DEV
- Update README to match the latest version on DEV branch
- Add Changelog URL
* Update README.md
Fix contributing link
* Revert "Custom offset functionality for Popup Menu Button (#22534)"
This reverts commit f44b277fa632c848ea113ee3f397f713bc429153.
* Revert "Updated the ColorScheme dartdoc: a11y (#22618)"
This reverts commit aa6a27e8a25ba4d6d68539a0ae9285385a29ae9e.
* Revert "Added support for the Khmer (km) language (#22617)"
This reverts commit 3a87b93fcee696480504f0659062f0d7206c44a3.
* Revert "Use 'Future<void>' insted of 'Future<Null>' in SystemChrome (#22583)"
This reverts commit 37c10acb978009b1ee690478a31b30eb7371eb25.
* Revert "Choice Chip Fix (#22589)"
This reverts commit 8d76d37f33b474c77c35c91bfeaeedd86d8a6fb5.
* Revert "Throw if trying to set fs.currentDirectory in tests (#22037)"
This reverts commit 2f6155bf188911bc0630b1b2e6786e968a570fe7.
* Revert "Use (processors-1) for test runs (test defaults to processors/2) (#22085)"
This reverts commit d44f003079b53643d6f0afd9a5f57383c3de62cb.
* Block setting of fs.currentDirectory in tests
This isn't perfect, it only covers tests using testUsingContext, but that is the huge majority of tests.
* Tweak error message.
f6af1f20ba...74662ab695
git log f6af1f20ba92..74662ab69523 --no-merges --oneline
74662ab69 Revert "Share engine layers with the framework" (flutter/engine#6412)
2de87a80f Roll src/third_party/skia 6719fcc43b1e..deb512045e6a (7 commits) (flutter/engine#6411)
68a42e3f4 Add nullability annotations to MethodChannel/MethodCall. (flutter/engine#6393)
71ba20a64 Dart SDK roll for 2018-10-02 to d2c5a24fd9ead97a7f18d02786e679293cc3709e (flutter/engine#6410)
9ccc96625 Share engine layers with the framework (flutter/engine#6406)
fa719e3e7 Roll src/third_party/skia cc4dbfcfbd8a..6719fcc43b1e (17 commits) (flutter/engine#6409)
dc2634dcf Force lf-line endings for so that source offsets match across platforms. (flutter/engine#6408)
44a514943 Roll src/third_party/skia 7dae882574d2..cc4dbfcfbd8a (15 commits) (flutter/engine#6405)
de32c659b Roll src/third_party/skia 3b8b11e1f912..7dae882574d2 (15 commits) (flutter/engine#6403)
3a9c22afd Allow GetRectsForRange to provide more detailed/nuanced metrics through RectStyle enum. (flutter/engine#6335)
b59c86493 Rename the Android fragment support library JAR (flutter/engine#6400)
4213ac19c Add an Android fragment support library to third_party (flutter/engine#6384)
a785b25f4 do not count Hidden nodes at the beginning of the scrollable (flutter/engine#6381)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
Introduce an overall material "color scheme" and to make it possible to redefine how a component's visual properties bind to the color scheme and to the existing material Theme.
* Change file paths to URIs to fix "Could not run configuration in engine" on Windows
Plus unskip test that was failing due to this.
Fixes#21348.
* Remove unused import
Manually roll the engine to the last good commit known to the
auto-roller.
git log 0c2b6dc6e339..f6af1f20ba92 --no-merges --oneline
f6af1f20b Roll src/third_party/skia e8e2bb1384ad..3b8b11e1f912 (4 commits) (flutter/engine#6395)
7f2e2ea4f Roll src/third_party/skia bba2921c1970..e8e2bb1384ad (1 commits) (flutter/engine#6394)
4f69beb27 Roll src/third_party/skia 7f3ceba5dc7f..bba2921c1970 (1 commits) (flutter/engine#6392)
a4a5449d5 Roll src/third_party/skia 22867ce6fe83..7f3ceba5dc7f (1 commits) (flutter/engine#6391)
31278f0b8 Roll src/third_party/skia ebfbf1d749c1..22867ce6fe83 (1 commits) (flutter/engine#6390)
73409c228 Roll src/third_party/skia 93d71666b2f1..ebfbf1d749c1 (1 commits) (flutter/engine#6389)
6f8c827b2 Dart SDK roll for 2018-09-28 (flutter/engine#6388)
6e96ae542 Roll src/third_party/skia cfa315390f04..93d71666b2f1 (6 commits) (flutter/engine#6386)
39dee5b61 Fix Fuchsia build. (flutter/engine#6383)
560eba1a3 Roll src/third_party/skia 87311c6e565f..cfa315390f04 (9 commits) (flutter/engine#6382)
The asset subsystem uses URIs to represent asset locations. The font manifest
should also use URI-encoded paths instead of unencoded paths taken directly
from the manifest YAML.
Fixes https://github.com/flutter/flutter/issues/19452