As noted in our mini experiment for loading screen: https://github.com/dwyl/flutter-phoenix-channels-demo/pull/4
The code required to create a loading screen is minimal and does increase the bundle size.
It loads immediately because it's just HTML and gives the person viewing (waiting) some visual indication of progress while the bundle (main.dart.js) is downloading.
Let's implement it for the Flutter Web App so that we can both give people a sense of progress β³
and give Google something to see while the app is loading ... π€
[x] No CSS transitions or any superfluous JS (for now ...) just the simplest/fastest-loading screen possible that is replaced as soon as the main.dart.js is loaded. π
[x] Please avoid importing a CSS library if you can. Borrow the styles from Tailwind if you need to. But in-line the CSS in the index.html file so that it loads as fast as possible. π
@LuchoTurtle given your recent experience with this, want to pick this one up? π
Please drop a comment to confirm that this task is clear or to seek further clarification. π¬
For now we only need this for the Flutter Web version. π±
We can re-assess for the iOS and Android when the time comes to ship these to the respective App Stores. π
As noted in our mini experiment for loading screen: https://github.com/dwyl/flutter-phoenix-channels-demo/pull/4 The code required to create a loading screen is minimal and does increase the bundle size. It loads immediately because it's just
HTML
and gives the person viewing (waiting) some visual indication of progress while the bundle (main.dart.js
) is downloading.Let's implement it for the
Flutter Web
App so that we can both give people a sense of progress β³ and give Google something to see while the app is loading ... π€Todo
Figma
first: https://www.figma.com/file/WrpkKGJNYZbeCzMRDVtvQLbC/dwyl-app?node-id=1631%3A437164 x 64 px
if we have one (smaller the better to reduce load time)#F2F2F2
https://github.com/dwyl/learn-wireframing/issues/13#issuecomment-1428778259CSS transitions
or any superfluousJS
(for now ...) just the simplest/fastest-loading screen possible that is replaced as soon as themain.dart.js
is loaded. πCSS
in theindex.html
file so that it loads as fast as possible. π@LuchoTurtle given your recent experience with this, want to pick this one up? π Please drop a comment to confirm that this task is clear or to seek further clarification. π¬ For now we only need this for the
Flutter Web
version. π± We can re-assess for theiOS
andAndroid
when the time comes to ship these to the respective App Stores. π