mirror of https://github.com/flutter/samples.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gh-pages
main
flutter3.27
compass-app
jwill_m3_demo
sethladd-patch-3
sethladd-patch-1
sethladd-patch-2
recipe_readme
add_ai_recipe_app
remove_window_size_nav_app
android-builds
startup_cleanup
misc/adjust-flutter-gallery-inclusion
khanh_m3_demo
leigha_m3_demo
add_interactive_color_scheme
update_card_to_card_outlined
navigation-and-routing-update
update_demo_code
master_archived
${ noResults }
dependabot[bot]
1920ce86e2
Bumps [@angular/compiler](https://github.com/angular/angular/tree/HEAD/packages/compiler) from 17.3.10 to 18.0.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/angular/angular/releases"><code>@angular/compiler</code>'s releases</a>.</em></p> <blockquote> <h2>v18.0.1</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h1>18.0.1 (2024-05-29)</h1> <h3>compiler</h3> <table> <thead> <tr> <th>Commit</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a href=" |
6 months ago | |
---|---|---|
.. | ||
element_embedding_demo | Bump deps and min SDKs, move web apps to new bootstrapping logic (#2292) | 6 months ago |
ng-flutter | Bump @angular/compiler from 17.3.10 to 18.0.1 in /web_embedding/ng-flutter (#2313) | 6 months ago |
README.md | [web_embedding] Update README to link to our first community contribs. (#1980) | 1 year ago |
README.md
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!)