Flutter How to handle text selection? : <p>I need to display a styled text for reading and some actions. User should be able <strong>to select piece of text</strong> and mark it with color, save it or expand it (show an additional information, for example a translation to another language).</p>

<p>I can display text by using RichText widget.</p>

<p>1) How to make it selectable and how/where to add onTextSelected listener? There is a class TextSelection but I can't see how/where its used.</p>

<p>2) What is a simplest way to expand text? I can reload full text (with changes added) and totally update widget, but this will result to scrolling to the top of a text and I think there should be a better approach.</p>
