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\"
Try Wrap:
Wrap
Wrap( crossAxisAlignment: WrapCrossAlignment.center, children: [ Text('Click'), Icon(Icons.add), Text('to add'), ], )