-
-
Notifications
You must be signed in to change notification settings - Fork 876
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Investigate] Remove SelectableText in favor of SelectionArea? #1137
Comments
A very quick try, wrapping the example app in |
That API definitely looks neat. I'll give it a try myself later today! I think if we can remove the burden of Selection logic from our library as much as possible, that would be best. |
I've tried it briefly and it looks like it gets the job done :) btw it is |
3.0.0 is not supported with |
We should investigate if we can simplify our support for selectable text by removing the usage of
SelectableText
(which has limitations and behaviour differences) in favor of simply wrapping (even even just recommending)SelectableArea
SelectionArea
, introduced in Flutter 3.3.Of course the text selection needs to be as least as good (in behaviour and features) as what we have right now. It could simplify our code though and remove the need to document limitations when using
SelectableHtml
.Additional context
https://api.flutter.dev/flutter/material/SelectionArea-class.html for the official doc.
The text was updated successfully, but these errors were encountered: