Closed SlimShadyIAm closed 6 months ago
Deleted the package and the widget which used the package are the best option if is unused and it didn't make sense to keep them in the project
As far as I can see, the removed InstructionText
widget was previously used to render text within the RPUIInstructionStep
:
However, currently on master it is rendered using the Text
widget:
Similarly for the removed Title
widget, when it was added:
vs. on master: https://github.com/cph-cachet/research.package/blob/f8dcd7968a3f0477a408bfd6c35448ab00ccf785/lib/src/ui/question_step.dart#L141-L145
However, currently on master it is rendered using the
Text
widget:
This makes sense - we can't translate HTML code so support for HTML can/should be removed.
The
simple_html_css
package caused build issues when using Flutter 3.22 because the Flutter team renamed some text styling properties the package used. Although this issue has been fixed in v5.0.0 of the package, it seems that the code that requiredsimple_html_css
is not called anywhere, so this package can be removed.The alternative is upgrading the
simple_html_css
to 5.0.0, but then we need to make the research package use Flutter 3.22 as a minimum as well as any project that depends on it.Closes #115