Closed ePento closed 9 months ago
Hi, there was a typo, which made Container
to Conatiner
.
Please fix it by changing to correct spelling.
thank you sir ,, it works but i have problem ,, in text variable i put html code ,, but it shows as it is app ,, should i replace text with child: Html ? i just need simple code to insert html tags and compile it ,, thank you
Hello,
Yes, will replace Text widget with some Html widget.
Since the hook return a widgets, you can return any complex widget with any child inside it.
You can follow tutorials that shows how to use Html in widget in the flutter.
Look at different approaches here: https://stackoverflow.com/questions/53815485/how-to-show-html-string-in-text-widget-flutter
Do you need any more help here?
hello ,, i got this error
===============================================
here is the code in hooks_v2.dart
==============================================