API network images are not shows on flutter web once I update flutter to 3.29.0. I used to run html render command and the images was showing so fine but once I update flutter the command is not working any more. Is there are any other command are just work the same as html render ?
API network images are not shows on flutter web once I update flutter to 3.29.0. I used to run html render command and the images was showing so fine but once I update flutter the command is not working any more. Is there are any other command are just work the same as html render ?
Share Improve this question asked Mar 7 at 8:23 RichardRichard 451 silver badge5 bronze badges 2- can you elaborate on the detailed error log from terminal? – shotmeinthehead Commented Mar 7 at 9:20
- it shows this message : Could not find an option named "--web-renderer". – Richard Commented Mar 7 at 9:39
3 Answers
Reset to default 1As @Richard mentioned the error is : Could not find an option named "--web-renderer"
I have found the same problem mentioned in https://github/flutter/flutter/issues/163199
Try following solution from @Crucialjun
"Go to vscode settings and search for "flutterWebRenderer" set the value to flutter-default on both user and workspace"
if that does not work, try doing a further reading into https://github/flutter/flutter/issues/145954
The team made a breaking changes on that, and the discussion is still going
The HTML renderer is removed from Flutter 3.29.
For more information, visit The intent to deprecate and remove the HTML renderer in Flutter web and Issue 145584: Intent to deprecate and remove the HTML renderer in Flutter web.
Open Firebase Project > in project overview (project settings) > Service accounts >Manage service account permission.
click on terminal on top right and machine is running.
After that, type these:
echo '[{ "origin": ["*"], "method": ["GET", "HEAD"], "maxAgeSeconds": 3600, "responseHeader": ["Content-Type", "Access-Control-Allow-Origin"] }]' > cors.json
then write these and replace the address (football-abcd) with your firebase storage bucket.
gsutil cors set cors.json gs://football-abcd.firebasestorage.app
Congratulations.
Setting CORS on gs://football-abcd.firebasestorage.app/...
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744942282a4602399.html
评论列表(0条)