dart - HTML Render is not working on flutter 3.29.0 - Stack Overflow

API network images are not shows on flutter web once I update flutter to 3.29.0.I used to run html ren

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
Add a comment  | 

3 Answers 3

Reset to default 1

As @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.

  1. Open Firebase Project > in project overview (project settings) > Service accounts >Manage service account permission.

  2. click on terminal on top right and machine is running.

  3. After that, type these:

    echo '[{ "origin": ["*"], "method": ["GET", "HEAD"], "maxAgeSeconds": 3600, "responseHeader": ["Content-Type", "Access-Control-Allow-Origin"] }]' > cors.json

  4. then write these and replace the address (football-abcd) with your firebase storage bucket.

  5. gsutil cors set cors.json gs://football-abcd.firebasestorage.app

  6. Congratulations.

  7. Setting CORS on gs://football-abcd.firebasestorage.app/...

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744942282a4602399.html

相关推荐

  • dart - HTML Render is not working on flutter 3.29.0 - Stack Overflow

    API network images are not shows on flutter web once I update flutter to 3.29.0.I used to run html ren

    1天前
    50

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信