mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
â ï¸ **Dependabot is rebasing this PR** â ï¸ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- Bumps [flutter_lints](https://github.com/flutter/packages/tree/main/packages) from 3.0.2 to 4.0.0. <details> <summary>Commits</summary> <ul> <li><a href="4799c49634"><code>4799c49</code></a> [flutter_lints] Rev to 4.0.0; prepare for publishing (<a href="https://github.com/flutter/packages/tree/main/packages/issues/6695">#6695</a>)</li> <li><a href="4e796783a2"><code>4e79678</code></a> [pointer_interceptor] Remove <code>implements</code> from app-facing package (<a href="https://github.com/flutter/packages/tree/main/packages/issues/6699">#6699</a>)</li> <li><a href="d670b2c38c"><code>d670b2c</code></a> Temporarily add empty header files to video_player_avfoundation so include di...</li> <li><a href="a9f14bc819"><code>a9f14bc</code></a> Reverts "[image_picker_ios] Adds Swift Package Manager compatibility to image...</li> <li><a href="a444af56dd"><code>a444af5</code></a> [image_picker_ios] Adds Swift Package Manager compatibility to image_picker_i...</li> <li><a href="09a373f211"><code>09a373f</code></a> [video_player_avfoundation] Adds Swift Package Manager compatibility (<a href="https://github.com/flutter/packages/tree/main/packages/issues/6675">#6675</a>)</li> <li><a href="0167b51e5f"><code>0167b51</code></a> [ios_platform_images] Add Swift Package Manager support (<a href="https://github.com/flutter/packages/tree/main/packages/issues/6684">#6684</a>)</li> <li><a href="8de142d33b"><code>8de142d</code></a> [path_provider] Add Swift Package Manager support (<a href="https://github.com/flutter/packages/tree/main/packages/issues/6680">#6680</a>)</li> <li><a href="4595c41373"><code>4595c41</code></a> [go_router] guard context access in then clauses (<a href="https://github.com/flutter/packages/tree/main/packages/issues/6685">#6685</a>)</li> <li><a href="8df8b5ff3d"><code>8df8b5f</code></a> [camera] Ignore implementation imports outside of lib (<a href="https://github.com/flutter/packages/tree/main/packages/issues/6191">#6191</a>)</li> <li>Additional commits viewable in <a href="https://github.com/flutter/packages/commits/flutter_lints-v4.0.0/packages">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
web_embedding
This directory contains examples of how to embed Flutter in web apps (without iframes):
- element_embedding_demo: Modifies the index.html of a flutter app so it is
launched in a custom
hostElement. This is the most basic embedding example. - ng-flutter: A simple Angular app (and component) that replicates the above example, but in an Angular style.
Check the README.md of each example for more details on how to run it, and the
"Points of Interest" it may contain.
Community Contributions
Members of the community have graciously ported and contributed the following examples of Flutter Web embedding into other web frameworks:
| Author | Host Framework | Code |
|---|---|---|
| @p-mazhnik | React JS | p-mazhnik/flutter-embedding cra-flutter |
| @p-mazhnik | React Native | p-mazhnik/flutter-embedding expo-flutter |
(All contributions are welcome! Please, create an issue or open a PR to let us know how you've embedded a Flutter Web app with your favorite web framework (Vue? Svelte? Ember? Aurelia? jQuery? MooTools? Prototype?), so it can be added to the table above!)