I saw people managing to add image in text, like this.
const Text('π', style: TextStyle(fontSize: 96))
How they do this?
I saw people managing to add image in text, like this.
const Text('π', style: TextStyle(fontSize: 96))
How they do this?
3
Answers
You can use richText.
You can add images to text using RichText.
You can use not only Image.asset but also Image.network.
You can use below code