website
website copied to clipboard
minor: change transformers args to list
The args in the asset-transformation section should be of type list of strings, not a single string as the documentation shows. Running the code as in the docs will result in the following issue:
Error detected in pubspec.yaml:
Unable to parse assets section.
In transformers section of asset "assets/logo.svg": In args section of transformer using package "vector_graphics_compiler": Expected args to be a list of String, but got --tessellate --font-size=14 (String).
Please correct the pubspec.yaml file
This PR convert the args section in the docs to list.
Presubmit checklist
- [x] This PR doesn’t contain automatically generated corrections (Grammarly or similar).
- [x] This PR follows the Google Developer Documentation Style Guidelines — for example, it doesn’t use i.e. or e.g., and it avoids I and we (first person).
- [x] This PR uses semantic line breaks of 80 characters or fewer.
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
/gcbrun
Visit the preview URL for this PR (updated for commit 005a165ab477c09b8dfd45d6727b1254c0ff2b48):
https://flutter-docs-prod--pr10622-fix-args-to-list-t9pneitv.web.app