Is it possible to make text in Flutter highlightable like in HTML?


How can I make any text widget in Flutter highlightable like in native languages?

Thank you


If you mean that text needs to be able to be selected, you can just use SelectableText (docs here).

If you mean text that is permanently highlighted, I don’t think it’s possible out of the box, but you can use packages such as quill that have the option to mark text like that.

Answered By – Wessel

Answer Checked By – Cary Denson (FlutterFixes Admin)

Leave a Reply

Your email address will not be published.