VeryGoodOpenSource / flutter_web_preloader

A brick that creates a smart web entrypoint for Flutter and preloads any type of asset before starting an app.
https://brickhub.dev/bricks/flutter_web_preloader/0.2.0
MIT License
77 stars 7 forks source link

fix: The web does not load if no assets are found #11

Closed cgutierr-zgz closed 1 year ago

cgutierr-zgz commented 1 year ago

Description If we setup a project with no assets, it will get stuck in the loading.

Steps To Reproduce

  1. Create a flutter project, for example run `very_good create flutter_app pls_run --desc "sample" --application-id "com.example.app"
  2. Run cd pls_run
  3. Run mason make flutter_web_preloader and just hit enter so it overrides the index.html
  4. Build and see how it gets stuck

Expected Behavior I would expect the app to load anyway, maybe some people want to get this setted up since the beginning