Skip to content

Commit 214c839

Browse files
authored
Recommend flutter config --help for an explanation of each feature flag (#12293)
Bubble up that `flutter config --help` explains what each flag controls. cc @vashworth @matanlurey ## Presubmit checklist - [x] If you are unwilling, or unable, to sign the CLA, even for a _tiny_, one-word PR, please file an issue instead of a PR. - [x] If this PR is not meant to land until a future stable release, mark it as draft with an explanation. - [x] This PR follows the [Google Developer Documentation Style Guidelines](https://developers.google.com/style)—for example, it doesn't use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first-person pronouns). - [x] This PR uses [semantic line breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks) of 80 characters or fewer.
1 parent a847e6b commit 214c839

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/content/tools/pubspec.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ dev_dependencies:
8585

8686
[!generate: true!] # Enables generation of localized strings from arb files
8787

88-
[!config:!] # App-specific configuration flags that mirror flutter config
88+
[!config:!] # App-specific configuration flags that mirror `flutter config`
8989
[!enable-swift-package-manager: true!]
9090

9191
[!assets:!] # Lists assets, such as image files
@@ -234,9 +234,12 @@ The available keys mirror those available in `flutter config --list`.
234234
```yaml title="pubspec.yaml"
235235
flutter:
236236
config:
237+
cli-animations: false
237238
enable-swift-package-manager: true
238239
```
239240

241+
Use `flutter config --help` for a description of each flag.
242+
240243
Flags are only read from the current _application_ package, and have no effect
241244
in the context of a package or dependency.
242245

0 commit comments

Comments
 (0)