Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the Flutter pubspec documentation to streamline the overview, add information about asset transformers, integration tests, and the module field, and correct various formatting and link references. The feedback recommends using a stable SDK version constraint instead of a beta pre-release in examples, removing the obsolete androidX property from the module configuration, and using shell-style comments (#) instead of C-style comments (//) in console code blocks.
|
Staged preview of the updated docs.flutter.dev site (updated for commit ab7a35d): https://flutter-docs-prod--docs-pr13744-pubspec-ohh0xgww.web.app |
|
Staged preview of the updated flutter.dev site (updated for commit ab7a35d): https://flutter-dev-230821--www-pr13744-pubspec-3hqiahs2.web.app |
| ``` | ||
|
|
||
| ### flutter_localizations package | ||
| ### flutter_localizations package {: #flutter_localizations } |
There was a problem hiding this comment.
| ### flutter_localizations package {: #flutter_localizations } | |
| ### flutter_localizations package {: #flutter-localizations } |
|
|
||
| environment: | ||
| sdk: ^3.12.0 | ||
| sdk: ^3.14.0-95 |
There was a problem hiding this comment.
We should keep this as a stable version:
| sdk: ^3.14.0-95 | |
| sdk: ^3.13.0 |
| [Swift Package Manager for plugin authors]: /packages-and-plugins/swift-package-manager/for-plugin-authors | ||
|
|
||
| ### default-flavor field | ||
| ### default-flavor field {: #default-flavor } |
There was a problem hiding this comment.
There's a link to the old header in the deployment/flavors.md page that needs to be updated to the new fragment.
| flavors, visit [Set up flavors for iOS and macOS], | ||
| [Set up flavors for Android], and | ||
| [Set up flavors for Windows and Linux]. |
There was a problem hiding this comment.
| flavors, visit [Set up flavors for iOS and macOS], | |
| [Set up flavors for Android], and | |
| [Set up flavors for Windows and Linux]. | |
| flavors, visit [Set up flavors for iOS and macOS][], | |
| [Set up flavors for Android][], and | |
| [Set up flavors for Windows and Linux][]. |
|
|
||
| Handles localization tasks. This field can appear as a | ||
| subfield of `flutter` and `material`. | ||
| Enables generation of localized strings and assets from `.arb` files. |
There was a problem hiding this comment.
To avoid potential confusion with the other mention of "assets" on the page:
| Enables generation of localized strings and assets from `.arb` files. | |
| Enables generation of Dart files with localized strings from `.arb` files. |
Fixes #13696
The filed issue requires a minor fix but, in the process, I noticed that the page needs updating.