-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
When you google "flutter text selection" the first result is the documentation of the SelectableText. When you are new to Flutter, you think that this is the way to make a text selectable. However, since a few months there is also a way to make multiple text widgets selectable (SelectionArea, see #95226). The documentation of SelectableText doesn't mention in any line of the existence of the SelectionArea widget, see https://api.flutter.dev/flutter/material/SelectableText-class.html)
I think it would be a good idea to also mention SelectionArea, when you want to add a selection for more than only one text widget. Therefore, new Flutter might explore this widget and are going to read documentation of this widget.
