flutter_web_loading_tips icon indicating copy to clipboard operation
flutter_web_loading_tips copied to clipboard

Followed instructions, doesn’t work

Open JustAdreamerFL opened this issue 1 year ago • 6 comments

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.

JustAdreamerFL avatar Oct 14 '24 16:10 JustAdreamerFL

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.

monster555 avatar Oct 14 '24 18:10 monster555

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.

monster555 avatar Oct 14 '24 18:10 monster555

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: Screenshot 2024-10-16 at 00 09 24

JustAdreamerFL avatar Oct 15 '24 22:10 JustAdreamerFL

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?

monster555 avatar Oct 17 '24 17:10 monster555

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

JustAdreamerFL avatar Oct 17 '24 18:10 JustAdreamerFL

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.

monster555 avatar Oct 23 '24 19:10 monster555

Closing this issue due to inactivity. If you are still experiencing this problem or have additional information, please feel free to reopen or comment.

monster555 avatar Jul 12 '25 15:07 monster555

Sorry for the inactivity, it is resolved. Thanks a lot!

JustAdreamerFL avatar Jul 28 '25 08:07 JustAdreamerFL