1 min readJun 13, 2018
The cleanest solution would be if you could use already existing emoji for it as Text
has full support of them.
If not, you can try to play with Wrap
layout to do something like this:
new Wrap(
children:
"Lorem Ipsum is simply dummy text of the printing and typesetting industry."
.split(' ')
.map<Widget>(
(word) => new Padding(
padding: const EdgeInsets.only(right: 8.0),
child: new Text(
word,
style: new TextStyle(fontSize: 20.0),
),
),
)
.toList()
..add(new Icon(Icons.map)),
),
You would need to fiddle with it.