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

request once or multi times? #1177

Closed stoneLee81 closed 1 year ago

stoneLee81 commented 1 year ago

There is a list that displays 20 rows of data. In each row, there is a html widget column to show data, in order to obtain the data, I need to request to server to get sign data, and then show in html label. My question is, can I request to server to get sign once or 20 times for this case?

erickok commented 1 year ago

If i understand your question correctly, you want to have 1 request to your server to fetch all data, and then to display it in 20 individual rows. This is something you can do, but you have to code this yourself. This library does not fetch data for you, it only renders html you already have (locally, fetched yourself).