Followed instructions, doesn’t work
Hi, I love what you did. I wanted to use that sleek cool looking page loading but I can’t. I am running flutter version 3.24.3 I think that flutter have changed the way it loads on web or sm. If you could spare some time to help me in get it working on new flutter versions, I would be grateful.
Hey @JustAdreamerFL, thanks for reaching out! Just a heads up, the repo is already using the new loader. I believe the steps in the readme might still reference the old method, so I’ll review and update them.
I’ve updated the README file with the steps for the new Flutter Web initialization method. You can check out the changes in PR #3. Let me know if you still run into any issues.
Thanks for looking into this!
I have tried doing it again with updated how to but with no success. When I set everything in flutter_bootstrap.js to be just the loading animation code, flutter doesn’t start and so nothing happens and the same thing happens even when I put the code before or after default flutter_bootstrap.js code.
Error what I get is this:
Can you post the content of your flutter_bootstrap.js, index.html? Feel free to exclude any sensitive parts, if any.
Also, can you confirm you're using the new Flutter Web initialization method?
Yes, I created this project I think on Flutter version 3.24.
I am sending those files in txt cuz github restriction. Also these files are from the build/web folder.
bootstrap file flutter_bootstrap.txt
index file index.txt
Hey @JustAdreamerFL, sorry for the delay. Updating the build/web/flutter_bootstrap.js file isn't recommended, as it's generated during the build process and will be overwritten. Instead, please update the web/flutter_bootstrap.js file to retain your changes across builds.
Closing this issue due to inactivity. If you are still experiencing this problem or have additional information, please feel free to reopen or comment.
Sorry for the inactivity, it is resolved. Thanks a lot!