Upgrading flutter_html 0.11 to 1
Breaking0.11.1 → 1.3.0Breaking3Platform1New9Changed3Fixed7Other4
BreakingUpgrade verdict
3 breaking changes and a platform requirement change.
In plain terms
- The following parameters of Html have been removed and should no longer be used (see the migration guide).
- BREAKING CHANGES (see the Migration Guide for a full overview of breaking changes.).
- For a list of pre-release changes, including several BREAKING CHANGES, see release notes for 1.0.0 above.
- Requires Flutter v1.17.0 or greater.
Must act 4 items need code or config changes
flutter_html publishes an official migration guide for version 1. It covers more than the release notes do.
Migration Guide ↗Dart SDK requirement changed in 1.0.0-pre.1: >=1.19.0 <3.0.0 → >=2.2.2 <3.0.0.
Flutter requirement changed in 1.0.0: >=0.5.0 → >=1.17.0.
What you must change
Breaking3
The following parameters of Html have been removed and should no longer be used (see the migration guide).
HtmluseRichTextpaddingbackgroundColordefaultTextStylerenderNewlinesBREAKING CHANGES (see the Migration Guide for a full overview of breaking changes.).
useRichTextcustomRenderFor a list of pre-release changes, including several BREAKING CHANGES, see release notes for 1.0.0 above.
Platform1
Requires Flutter v1.17.0 or greater.