-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix incorrect assetBase documentation #11342
Conversation
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
/gcbrun |
So actually, I just double-checked my code and the doc change I made is not right. |
The https://docs.flutter.dev/platform-integration/web/initialization-legacy#initializing-the-engine |
There's not really a good home for it on this page as it stands. My overall goal is to correct the mistake noted in flutter#11341, and maybe a larger re-work of the docs can be done by someone else (maybe in flutter#11320?).
Okay, I tweaked this PR to make it correct. It does feel like some restructuring of the docs is in order ( |
/gcbrun |
Visit the preview URL for this PR (updated for commit 3c2842e): |
Sigh I think this is doc change is still wrong, after reading more of the code. As long as you don't supply a custom If you do supply a custom Maybe the real fix here is to document that the |
I'm going to close this and come back w/ a fresh PR focused on what I discovered above. |
Thanks for sharing your findings @dowski! I haven't validated this, but am I understanding correctly that when you configure |
Hey @johnpryan - you're welcome. It's more like if you pass an I wound up filing a new focused bug that includes sample code: I didn't file it here in the |
Description of what this PR is changing or adding, and why: Fixing a documentation bug.
Issues fixed by this PR (if any): #11341
PRs or commits this PR depends on (if any): N/A
Presubmit checklist