Skip to content

docs: clarify FlutterLoader.loadEntrypoint deprecation - #13858

Open
lamek wants to merge 2 commits into
flutter:mainfrom
lamek:fix-12184
Open

docs: clarify FlutterLoader.loadEntrypoint deprecation#13858
lamek wants to merge 2 commits into
flutter:mainfrom
lamek:fix-12184

Conversation

@lamek

@lamek lamek commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Fixes #12184

Clarifies the deprecation of FlutterLoader.loadEntrypoint in favor of _flutter.loader.load() under a new subsection in the Common warnings section of the web initialization documentation.

Presubmit checklist

  • 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.
  • If this PR is not meant to land until a future stable release, mark it as draft with an explanation.
  • 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 pronouns).
  • This PR uses semantic line breaks
    of 80 characters or fewer.

@lamek
lamek requested review from a team and sfshaza2 as code owners September 4, 2026 02:49

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread sites/docs/src/content/platform-integration/web/initialization.md Outdated
@flutter-website-bot

flutter-website-bot commented Sep 4, 2026

Copy link
Copy Markdown
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

@flutter-website-bot

flutter-website-bot commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Staged preview of the updated flutter.dev site (updated for commit 00d76ae):

https://flutter-dev-230821--www-pr13858-fix-12184-5g50g4so.web.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Page and flutter don't agree

2 participants