Michael Goderbauer
38630b6bd1
Remove unnecessary null checks in flutter_tool
( #118857 )
...
* dart fix --apply
* manual fixes
* fix after merge conflicts
* review
2023-01-23 21:43:08 +00:00
Parker Lougheed
9e11d4a105
Use correct API docs link in create --sample help message ( #118371 )
...
* Use correct API doc link in create --sample help message
* Verify Flutter and Dart website links in tool help messages use https
* Adjust test failure reasoning message
2023-01-12 23:47:19 +00:00
Andrew Kolos
ee1c59d462
reduce pub output from flutter create ( #118285 )
...
* reduce pub output from flutter create
* fix fake Pub implementations
* fix tests
* Update pub.dart
* replace enum with simpler boolean
* fix tests
* Revert "fix tests"
This reverts commit 8a3182d3b95d4f2bf337343cdb76e88c2f428ca8.
* Revert "replace enum with simpler boolean"
This reverts commit 445dbc443db4eb5ce284f76749f60e81208b8783.
* go back to using an enum
2023-01-12 21:42:02 +00:00
stuartmorgan
f1d157bc29
Add an integration test to plugin template example ( #117062 )
...
* Add an integration test to plugin template example
Dart unit tests don't exercise host-side plugin code at all, so the
example tests in the plugin template currently have very little
meaningful coverage. This adds an integration test to the example app
when creating a plugin, so that there's an example of how to actually
test that a complete round-trip plugin call works.
This is done as a separate template that's currently only used by the
plugin template because I don't know what a good example for a
non-plugin case would be that isn't largely just a duplicate of the
widget tests. However, the integration test pre-includes conditionals
around the parts that are plugin-specific so that it can more easily be
expanded to other use cases later (e.g., in
https://github.com/flutter/flutter/issues/68818 ).
Part of https://github.com/flutter/flutter/issues/82458
* Add integration test to expected dependencies of a plugin app
* Test fixes
* Make an explicit test case
2022-12-15 19:49:14 +00:00
Michael Thomsen
91568cc9b7
Adjust upper Dart SDK constraint ( #116586 )
2022-12-06 23:41:53 +01:00
Ian Hickson
4e7dbefd92
Explicitly call out documentation links in "flutter create" ( #114181 )
...
The recent survey suggests that some people are not finding documentation after they get started with Flutter, so let's just give them links right away. It might not help everyone but there's not really any downside so...
2022-11-10 22:13:52 +00:00
Greg Spencer
5259e1bc6d
Add --empty to the flutter create command ( #113873 )
2022-10-24 21:20:03 +00:00
Sigurd Meldgaard
d80e994a62
Reland: Show output from pub get in flutter pub get ( #110851 )
2022-09-08 15:13:23 +02:00
Pierre-Louis
0c2f7bc2a2
Remove errant double spaces ( #110758 )
2022-09-02 04:00:58 +00:00
Zachary Anderson
0e195e9d46
Revert "Show output from pub get
in flutter pub get
( #106300 )" ( #110478 )
...
This reverts commit 3802eb627ef5eb0a79ee56354e7b78bc43e6720e.
2022-08-29 08:02:50 -07:00
Sigurd Meldgaard
3802eb627e
Show output from pub get
in flutter pub get
( #106300 )
2022-08-29 07:37:19 +00:00
Daco Harkes
e4bde83d7f
plugin_ffi warn about lack of platform support ( #106813 )
2022-06-29 10:29:11 -07:00
Jenn Magder
09987dc00a
Migrate create command to null safety ( #104484 )
2022-05-24 18:48:10 -07:00
Aman Verma
f86dfdd2b7
[flutter_tools] boolArg refactor ( #102088 )
2022-05-09 21:54:08 -07:00
Jesús S Guerrero
596e9d1c47
[flutter_tools] stringArg refactor ( #103231 )
2022-05-09 09:54:12 -07:00
Alexandre Ardhuin
07f1c20474
add missing trailing commas in list/set/map literals ( #102585 )
2022-04-27 09:15:35 +02:00
Jonah Williams
944fcda67f
[flutter_tools] remove UWP tooling ( #102174 )
2022-04-26 11:19:07 -07:00
creativecreatorormaybenot
96add4192e
Use single quotes for dartSdkVersionBounds
( #101270 )
...
* Use single quotes for `dartSdkVersionBounds`
* Update update_packages_test.dart
* Update test_project.dart
* Update tests_project.dart
* Update compile_error_project.dart
* Update hot_reload_with_asset.dart
* Update break_on_framework_exceptions_test.dart
* Update basic_project.dart
2022-04-06 09:54:10 -07:00
Gary Qian
63ff7a199b
MigrateConfig and migrate integration testing base ( #99092 )
2022-03-16 11:10:22 -07:00
Collin Jackson
10fbbafe09
[flutter_tools] Use proper project name in templates ( #96373 )
2022-02-02 06:50:14 -08:00
Daco Harkes
0e2f51dfd0
FFI plugins ( #96225 )
2022-01-26 23:44:45 +01:00
Zachary Anderson
65c6e88223
Revert "FFI plugins ( #94101 )" ( #96122 )
...
This reverts commit 5257f0290cb7e11ab4946da6ee15104ceaa815f9.
2022-01-04 08:09:12 -08:00
Daco Harkes
5257f0290c
FFI plugins ( #94101 )
...
* Building shared C source code as part of the native build for platforms Android, iOS, Linux desktop, MacOS desktop, and Windows desktop.
* Sample code doing a synchronous FFI call.
* Sample code doing a long running synchronous FFI call on a helper isolate.
* Use of `package:ffigen` to generate the bindings.
2022-01-04 10:14:27 +01:00
Emmanuel Garcia
935d1478aa
Apply the Kotlin plugin in a java project ( #95225 )
2021-12-14 23:04:05 -08:00
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