Closed
Description
For input field widgets such as:
- ReactiveTextField
- ReactiveFlutterTypeahead
- ...
How can I customize the behavior to select all the text when the field it tapped on (and consequently, focussed)?
At the moment I can only think of the following approach:
- Providing an external TextEdittingController
- Wrapping the whole field in a FocusableActionDetector
- selecting all the text in the
onShowFocusHighlight
callback of the FocusableActionDetector
I feel that this might introduce the boilerplate that this package + the code-gen variant aims to solve.
Any ideas on how this can be solved?
Metadata
Metadata
Assignees
Labels
No labels