click_text_field 0.0.10 click_text_field: ^0.0.10 copied to clipboard
A flutter TextField which is able to click the highlight text part, by setting the regex. Also a string callBack function can be set.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add click_text_field
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
click_text_field: ^0.0.10
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:click_text_field/click_text_field.dart';