Sub6Resources / flutter_html

A Flutter widget for rendering static html as Flutter widgets (Will render over 80 different html tags!)
https://pub.dev/packages/flutter_html
MIT License
1.79k stars 860 forks source link

加载图片,有了loadding,是否有属性可以去掉 #1180

Closed 903531306 closed 1 year ago

903531306 commented 1 year ago

image

Sub6Resources commented 1 year ago

Please provide more information about the issue you are facing, including code to reproduce the issue. The image and issue title you provided are unclear.

903531306 commented 1 year ago

Please provide more information about the issue you are facing, including code to reproduce the issue. The image and issue title you provided are unclear.

Whether there are attributes that can remove the animation loaded by images in html

Sub6Resources commented 1 year ago

By default there shouldn't be any animations when images are loading. We'll need to see some code in order to understand why this is happening.

903531306 commented 1 year ago

By default there shouldn't be any animations when images are loading. We'll need to see some code in order to understand why this is happening.

image This is the code! I only have assignment and image click events, without setting any attributes

flutter_ html: 3.0.0-alpha. 5 Use the version of the library

sinexy commented 1 year ago

The same question

guozhigq commented 1 year ago

maybe you can do this and custom loading widget

1111
Sub6Resources commented 1 year ago

Yes, that's my bad. This loading animation has been removed by default in #1176. If you need this functionality, you can implement an Extension to do so.