You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ReinBentdal I can imagine the same way as it work for the widget Text.
Currently I d not have time for PR. But, I usually do when I have time !
But I think commun use case is
const SelectableText(
'Hello! How are you?',
textAlign: TextAlign.center,
style: TextStyle(fontWeight: FontWeight.bold),
)
So if the widget is a SelectableText....using the usual styling method would be a great addition.
var selectable = SelectableText('SOME_TEXT).fontSize().textColor(...);
And nice to have:
var text = Text('SOME_TEXT').selectable(web: true, android: false, ios: false)
Add support for
https://api.flutter.dev/flutter/material/SelectableText-class.html
This is something very useful for flutter web.
The text was updated successfully, but these errors were encountered: