auto_size_text icon indicating copy to clipboard operation
auto_size_text copied to clipboard

Selectable Text

Open jayeshindianic opened this issue 2 years ago • 5 comments

Is your feature request related to a problem? Please describe. currently, users cant copy or select text from a string.

Describe the solution you'd like SelectableText Widget In Flutter

Version

  • Flutter version: 2.10
  • auto_size_text version: 3.0.0

jayeshindianic avatar Mar 15 '22 11:03 jayeshindianic

Came here looking for this to be used in flutter web

tgpsantos avatar Apr 20 '22 10:04 tgpsantos

+1

reiko-dev avatar May 06 '22 16:05 reiko-dev

Looks like https://github.com/leisim/auto_size_text/pull/94 is workaround

amejiarosario avatar Jul 05 '22 21:07 amejiarosario

Moving this up from the rabbit hole:

Since Flutter 3.3 we can use:

return SelectionArea(
     child: AutoSizeText('text'),
);

divan avatar Mar 16 '23 00:03 divan

+1

Tananga avatar Apr 14 '23 06:04 Tananga