Reputation: 3
hello I wonder how to use U+00B7 this unicode on flutter text widget
I want to use this text. How can I use unicode on flutter Text widget? thank you so much
Upvotes: 0
Views: 156
Reputation: 81
You can use unicode characters in the text widget simply by doing:
Text('\u{u00b7} example')
This allows unicode characters of greater length(4 and above)
Upvotes: 0
Reputation: 165
If you're getting the text from api. You can do this:
Text(utf8.decode(text.codeUnits)
Upvotes: 1