docs: clarify FlutterLoader.loadEntrypoint deprecation - #13858
Open
lamek wants to merge 2 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the web initialization documentation to include a new section addressing the deprecation of FlutterLoader.loadEntrypoint in favor of FlutterLoader.load(). The reviewer suggested adding a simpler alternative for users who have not customized their web/index.html file, which is to replace the old inline script block with the standard <script src="flutter_bootstrap.js" async></script> tag.
Collaborator
|
Staged preview of the updated docs.flutter.dev site (updated for commit 00d76ae): https://flutter-docs-prod--docs-pr13858-fix-12184-goxi9oet.web.app |
Collaborator
|
Staged preview of the updated flutter.dev site (updated for commit 00d76ae): https://flutter-dev-230821--www-pr13858-fix-12184-5g50g4so.web.app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #12184
Clarifies the deprecation of
FlutterLoader.loadEntrypointin favor of_flutter.loader.load()under a new subsection in the Common warnings section of the web initialization documentation.Presubmit checklist
of 80 characters or fewer.