Text not Selectable on Flutter Web [Stable]

Issue

After the Flutter Web was Stable, i tried to convert my Flutter Mobile application to Flutter Web by following the instructions given in Docs.
Everything is good, but the problem here is the Text on the Web is not Selectable!
i have just converted a Flutter Mobile App to web by executing a couple of commands and don’t have any idea about Flutter Web or how it’s Working Behind the Scenes!

Solution

The web works with the same behaviour as your app, to make texts selectable, you wrap it in SelectableText widget.

For example:

SelectableText("Lorem ipsum...")

Answered By – Tayo.dev

Answer Checked By – Pedro (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published.