Greg Spencer
52ae102f18
Adds tool warning log level and command line options to fail on warning/error output ( #92031 )
2021-11-10 16:13:04 -08:00
Jenn Magder
261ea1baef
Suppress created file list for new "flutter create" projects ( #93041 )
2021-11-04 10:03:02 -07:00
Jenn Magder
9e88fe328e
Remove globals_null_migrated.dart, move into globals.dart ( #92861 )
2021-11-01 17:18:03 -07:00
Chris Yang
42eb903200
[flutter_tools] iOS: display name defaults to the Title Case of flutter project name. ( #91529 )
2021-10-20 10:33:02 -07:00
Jenn Magder
91d1e3ed8b
Default new project to the ios-signing-cert development team ( #90021 )
2021-10-07 10:23:02 -07:00
Pierre-Louis
3e43c3e110
Categorize flutter tool commands ( #87747 )
2021-10-05 17:28:04 -07:00
Michael Thomsen
b889915997
Change min Dart SDK constraint to track actual version ( #88743 )
2021-09-14 14:08:36 +02:00
Ahmed Ashour
a3dc90c4f5
Add space before curly parentheses. ( #85306 )
2021-07-01 13:51:05 -07:00
Filip Hracek
76d5e62f42
Add a more complete app template for Flutter (skeleton) ( #83530 )
2021-06-28 15:26:04 -07:00
Alex Melnyk
23d705c30b
Fix typo in create.dart ( #82454 )
2021-06-08 15:58:01 -07:00
Alexandre Ardhuin
34059eec2c
enable lint prefer_interpolation_to_compose_strings ( #83407 )
2021-06-01 11:14:06 -07:00
Lau Ching Jun
2acd0007d6
Refactor CustomDimensions in analytics to be type safe ( #82531 )
2021-05-18 20:29:03 -07:00
Chris Bracken
90d978f8fb
Add windowsIdentifier template parameter ( #82588 )
...
Windows package identifiers are globally unique strings, typically a
GUID. These are required for templates that require a Windows package
name as described in
https://docs.microsoft.com/en-us/windows/win32/appxpkg/appx-portal
Fixes https://github.com/flutter/flutter/issues/82587
2021-05-14 17:48:30 -07:00
Jenn Magder
beec6106fa
Migrate template to null safety ( #80016 )
2021-04-08 15:19:03 -07:00
Jenn Magder
12ba9046d7
Migrate tool version to null safety ( #79911 )
2021-04-07 16:49:23 -07:00
Michael Thomsen
2cdd51900c
Enable null safety by default in templates ( #78619 )
2021-03-30 10:16:05 +02:00
Jenn Magder
7148cc61f3
Migrate flutter_tool net.dart to null safety ( #78922 )
2021-03-24 15:16:13 -07:00
Marcel Čampa
e85fe60d00
Command flutter create
respects disabled iOS and Android ( #78406 )
2021-03-22 09:53:05 -07:00
Jonah Williams
2584afd7ec
[flutter_tools] scaffolding for Windows UWP template ( #78067 )
2021-03-16 13:43:04 -07:00
Jonah Williams
d60e9de75d
[flutter_tools] remove remaining extensions ( #76743 )
2021-02-24 16:46:03 -08:00
Jonah Williams
04182572f7
[flutter_tools] allow bypassing context for FlutterProject creation, remove fromPath ( #76258 )
2021-02-18 12:36:04 -08:00
Ian Hickson
ce318b7b53
All arguments must be documented. ( #75888 )
2021-02-14 12:56:05 -08:00
Darshan Rander
7c22f0d214
Added warning when not enabled platform is selected ( #73205 )
2021-01-28 13:54:04 -08:00
Jonah Williams
74bd7b6f6d
[flutter_tools] opt all flutter tool libraries and tests out of null safety. ( #74832 )
...
* opt out the flutter tool
* oops EOF
* fix import
* Update tool_backend.dart
* Update daemon_client.dart
* fix more
2021-01-27 15:17:53 -08:00
Michael Goderbauer
63267e9016
Make flutter create --smaple null-safe ( #74844 )
2021-01-27 14:44:03 -08:00
Michael Goderbauer
2f7804f41b
Add null safety note to flutter create ( #74265 )
2021-01-19 14:52:43 -08:00
Michael Goderbauer
5d1306e7ab
Update outdated links ( #73514 )
2021-01-07 16:28:12 -08:00
Chris Yang
d447141bac
[flutter_tools] update message for flutter create -t plugin
when no --platforms
specified ( #71962 )
2020-12-10 15:15:55 -08:00
Chris Yang
0a08f8afff
[flutter_tools] Display "no platforms" message based on results when creating plugins project ( #70215 )
2020-12-01 09:53:07 -08:00
Chris Yang
ffe5197e19
refactor ( #70959 )
2020-11-20 13:13:04 -08:00
Chris Yang
4e88f6a103
flutter_tools: refactor CreateCommand
. ( #70874 )
2020-11-20 10:58:03 -08:00
Jonah Williams
a86dab0c40
[flutter_tools] remove automatic doctor from flutter create ( #70475 )
2020-11-13 11:44:10 -08:00
Jonah Williams
2e54c4a8ea
[flutter_tools] implement safe file copy with multiple fallbacks ( #69000 )
...
The tool observes a large number of unhandled exceptions during the file copy portion of flutter create. it is difficult to tell whether the permission issue is caused by the source/destination, or whether it is due to a bug in dart:io.
To work around this, implement a permission check for both the source and dest files. If either fails, the tool can exit with a more specific message.
If these checks pass, then perform the actual copy. If the copy fails, fallback to manually copying the bytes
2020-10-26 15:49:07 -07:00
Jenn Magder
5e17a240bd
Generate only requested platform directories on create ( #68376 )
2020-10-19 14:17:43 -07:00
Alexandre Ardhuin
73301a35a2
Sync lints ( #68136 )
2020-10-15 15:37:04 -07:00
Jonah Williams
52f8b89c0e
[flutter_tools] dont allow creating package name that is invalid ( #67786 )
...
According to https://dart.dev/tools/pub/pubspec#name , uppercase is not permitted for package names.
2020-10-12 15:38:23 -07:00
Jonah Williams
1a9d635f64
[flutter_tools] remove --with-driver-test ( #67783 )
...
Remove flutter create --with-driver-test . Fixes #64095
2020-10-09 21:03:37 -07:00
stuartmorgan
c11440ae92
Remove the Windows 'flutter create' warning ( #66113 )
2020-09-18 14:32:10 -07:00
Michael R Fairhurst
7f3c9b6bda
Remove unused 'dart:async' imports. ( #65568 )
2020-09-16 14:14:06 -07:00
Jonah Williams
ee12d7c3fc
[flutter_tools] check for permission issues when copying file ( #63540 )
2020-08-21 11:11:04 -07:00
xster
a2e5e074ab
Move Android doctor SDK check to 29 and Cirrus images to 30 ( #63517 )
2020-08-20 11:06:32 -07:00
Chris Yang
48fab86c6e
[flutter_tools] update pubspec .yaml message should not be displayed when creating a new plugin ( #62599 )
...
* update pubspec message should not be displayed when creating a new plugin
* formatting
* revikew
* review
* cleanup
2020-07-30 13:49:15 -07:00
Robert Ancell
392e25c8f2
Set the application-id in the Linux shell ( #60053 )
2020-07-30 08:46:29 +12:00
Jonah Williams
d8b6fa153a
[flutter_tools] generate a synthetic flutter_gen package on pub get ( #61261 )
...
Allow configuring the flutter_manifest to support a synthetic package, this is done through flutter: generate: true.
When running pub get, insert a flutter_gen entry into the packages if it does not already exist. This points to .dart_tool/flutter_gen, which can be updated to contain the generated intl sources (But doesn't currently)
Adds an integration test that verifies this code can be run and imported when enabled.
Part of #60914
2020-07-15 10:12:52 -07:00
Jenn Magder
cda6c27ff7
Add spaces between sentences in help text ( #61135 )
2020-07-13 11:16:03 -07:00
xster
8bd2e6585b
Remove v1 Android create templates ( #61203 )
2020-07-11 12:15:19 -07:00
Jonah Williams
a0334fb500
[flutter_tools] maintain file manifest for create ( #59706 )
...
First pass at fixing #57985 and implementing #59602
This doesn't have enough metadata to be useful for IDEs yet, but it prevents the issue from getting worse while we iterate on it.
2020-06-24 16:20:21 -07:00
stuartmorgan
d9902a5474
Consider the Linux template stable ( #60163 )
...
Remove the version checking and associated warnings. The Linux template
and build process will now be subject to more typical Flutter breaking
change policy, and should no longer require regularly deleting and
recreating the platform directory.
2020-06-24 12:23:57 -07:00
Chris Yang
95b98dc2c2
flutter create . on plugins also regenerates files for platforms supported in pubspec.yaml ( #60159 )
2020-06-24 10:38:03 -07:00
Chris Yang
2e63b7d4f8
Add --platforms
to flutter create -t plugin
command ( #59507 )
2020-06-23 17:38:03 -07:00