August
bf4957815e
docs: Default Splash / Loading screen for web app in index.html ( #177084 )
...
Contributes to #102178
First I wanted to cherry-pick
https://github.com/flutter/gallery/pull/630 . But then I noticed that
there already exists a documentation:
https://docs.flutter.dev/platform-integration/web/initialization .
As most users won't expect this to be customizable (as myself), I wrote
a little docs in the index.html.tmpl that link to this page.
https://docs.flutter.dev/platform-integration/web/initialization#example-display-a-progress-indicator
I still think a default splash screen should be in place, e.g. by
providing the `flutter_bootstrap.js` by default (?)
## Pre-launch Checklist
- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [ ] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [ ] All existing and new tests are passing.
If you need help, consider asking for advice on the #hackers-new channel
on [Discord].
<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
[test-exempt]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes
[Discord]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[Data Driven Fixes]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md
2025-11-03 15:21:21 +00:00
Matan Lurey
0ffc4ce00e
Remove --template=skeleton and add a placeholder error message instead. ( #160695 )
...
Closes https://github.com/flutter/flutter/issues/160673 .
Does the following:
- Renames `FlutterProjectType` to `FlutterTemplateType`; did some
enhanced enum cleanups while at it
- Creates a hierarchy of `RemovedFlutterTemplateType` from
`ParsedFlutterTemplateType`
- Removes the `skeleton` directory
- Merges `app_shared` back into `app` (no longer required now that
`skeleton` is removed)
Final cleanups are tracked in
https://github.com/flutter/flutter/issues/160692 .
(Added @zanderso just to spot check this is what he meant by
https://github.com/flutter/flutter/issues/160673#issuecomment-2557742347 )
2024-12-24 00:02:29 +00:00
Filip Hracek
76d5e62f42
Add a more complete app template for Flutter (skeleton) ( #83530 )
2021-06-28 15:26:04 -07:00
Aneesh Rao
b4148eb599
Add maskable icons to improve lighthouse score ( #83182 )
2021-06-10 13:49:06 -07:00
Yegor
e6cc3cd84d
use old Edge-compatible JavaScript in index.html ( #83732 )
2021-06-01 20:45:58 -07:00
Balvinder Singh Gambhir
4a33813b35
[flutter_tools] added base-href command in web ( #80519 )
2021-05-19 12:39:02 -07:00
John Ryan
c5d1600843
Fix typo in web template ( #77011 )
2021-03-04 15:24:03 -08:00
Yegor
e7953b3be4
[web] new service worker loading mechanism ( #75535 )
2021-02-11 09:16:21 -08:00
Mouad Debbar
b42e34690a
[web] Update index.html template to support new path strategy ( #67081 )
2020-10-02 15:12:04 -07:00
Jonah Williams
90d83e37a6
[flutter_tools] register service worker after first frame event ( #66082 )
...
Registering the service worker immediately after the documented has loaded may cause SW initialization to compete with framework initialization. It was recommended to us that we defer the service worker setup until after the framework is done with setup, which should be sometime after the first frame.
To implement this, I augmented the binding setup to dispatch an event on the document after the binding has initialized. I don't see any obvious risks with this setup.
Fixes #66066
2020-09-23 18:58:05 -07:00
Adam Bahr
5cf3c8728c
Update "shortcut icon" to "icon" ( #63154 )
2020-08-07 21:26:03 -07:00
Ferhat
0d452b8305
[web] Change display mode of PWA default to standalone ( #56056 )
...
Change display mode of PWA default to standalone, update integration test manifest to new default
2020-04-30 11:20:14 -07:00
Jonah Williams
b127868db4
[flutter_tools] update web template to remove some absolute paths ( #52040 )
2020-03-05 13:59:57 -08:00
Cristian Zazo
306c23fd36
[web] Fix typo apple-mobile-web-app-status-bar-style ( #49894 )
2020-01-31 15:38:02 -08:00
Jonah Williams
ab426858b1
[flutter_tools][web] add favicon to template and update index.html ( #49237 )
2020-01-28 13:09:18 -08:00
Jonah Williams
b3ea191407
[flutter_tools] Update template for web application to correct typo ( #48778 )
2020-01-14 08:13:01 -08:00
Jonah Williams
9f145f6ced
[flutter_tools][web] Add basic service worker generation support to web applications ( #48344 )
2020-01-13 17:13:02 -08:00
Jonah Williams
5d30c0970a
[flutter_tools][web] Add support for web app manifests and arbitrary resource files (from web/) ( #48316 )
2020-01-10 09:37:20 -08:00
Jonah Williams
bd413bff1b
Add flutter create for the web ( #34018 )
2019-06-07 13:15:38 -07:00