If i put a string like this one 'Can you solve the quiz? #AI got puzzled! 30 for 5 each!To win FL &❤️ & RT @binary_x2⃣ Fill in the blank & tag 2 friends!' in Text Widget it gets rendered properly on any browser.
However, if i use
return String.fromCharCode(emojiCode!);
with html renderer on iOS Safari it shows this broken emojis.
It still renders properly on desktop browsers, but it breaks on android browsers aswell. I know a fix with Noto fonts by using Canvaskit renderer, but i would like to make this work with html renderer. Any ideas?
First i was using Canvaskit renderer, but im trying to move to html due to initial loading time. However, i am unable to get Emojis to display properly on mobile browsers, while on desktop everything works as expected.
You can use this method to create a textspan with two different style.