6

when selecting text from SelectableText and wanting to change the selected text both SelectableText remain as they're selected.

enter image description here

Code:

Column(
children:[
 SelectableText(
      '1004',
      style: Theme.of(context).textTheme.bodyText2,
      textAlign: TextAlign.center,
    ),
SelectableText(
      '1005',
      style: Theme.of(context).textTheme.bodyText2,
      textAlign: TextAlign.center,
    ),
]
)

*I used 2 separated SelectableText.

nvoigt
  • 75,013
  • 26
  • 93
  • 142
Ara Hussein
  • 270
  • 1
  • 13

0 Answers0