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

[FEATURE] #1197

Closed xiejiajin closed 1 year ago

xiejiajin commented 1 year ago

The version I'm using now is flutter_html: 3.0.0-alpha.5. This version is very good and solves a lot of reference conflicts. I read the version of 3.0.0-alpha.6 that requires Min Dart SDK2.17. Is it possible to keep Min Dart SDK2.12. Because my Dart SDK is 2.14, I can't upgrade for a long time. Thank you.

PS: the cat's name is scallions. He also likes watching the World Cup. cat

TDuffinNTU commented 1 year ago

How come you want to stay at such a low Dart level? There are more than a few security and performance benefits to upgrading.

The latest dart version with flutter is compatible with most Android and iOS devices in the market too. I did see someone in /r/flutter_dev's discord the other day getting confused about compile SDK and target SDK for Android, and it turned out they could meet their minimum Android version without staying on an older flutter version just fine :)

Sub6Resources commented 1 year ago

Unfortunately no, sorry. Some of the language features we use depend on 2.17. You might consider forking the project and maintaining a version that doesn't use those language features to meet your requirements.