• Greg Spencer's avatar
    Rename module --> application in flutter create command. (#22565) · 9f23866a
    Greg Spencer authored
    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 #22530
    Fixes #22344
    9f23866a
Name
Last commit
Last update
..
android Loading commit data...
base Loading commit data...
commands Loading commit data...
dart Loading commit data...
fuchsia Loading commit data...
intellij Loading commit data...
ios Loading commit data...
runner Loading commit data...
test Loading commit data...
tester Loading commit data...
vscode Loading commit data...
application_package.dart Loading commit data...
artifacts.dart Loading commit data...
asset.dart Loading commit data...
build_info.dart Loading commit data...
bundle.dart Loading commit data...
cache.dart Loading commit data...
compile.dart Loading commit data...
context_runner.dart Loading commit data...
crash_reporting.dart Loading commit data...
dependency_checker.dart Loading commit data...
devfs.dart Loading commit data...
device.dart Loading commit data...
disabled_usage.dart Loading commit data...
doctor.dart Loading commit data...
emulator.dart Loading commit data...
flutter_manifest.dart Loading commit data...
globals.dart Loading commit data...
plugins.dart Loading commit data...
project.dart Loading commit data...
protocol_discovery.dart Loading commit data...
resident_runner.dart Loading commit data...
run_cold.dart Loading commit data...
run_hot.dart Loading commit data...
services.dart Loading commit data...
template.dart Loading commit data...
tracing.dart Loading commit data...
usage.dart Loading commit data...
version.dart Loading commit data...
vmservice.dart Loading commit data...
vmservice_record_replay.dart Loading commit data...