I want to show an icon in text widget. How do I do this ?
The following code only shows the IconData
IconData
Text(\"Click ${Icons.add} to add\"
You can use WidgetSpan() on Text.rich(). Here's a link for InlineSpan-class.