How to show Icon in Text widget in flutter?

Posted by Editorial Staff | Updated on

Want to show Icon in Text widget in flutter? Flutter has WidgetSpan() to add a widget inside the RichText() to show Icon in Text widget.

Example:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers