regex_pattern_text_field 1.0.7
regex_pattern_text_field: ^1.0.7 copied to clipboard
A custom text editing controller that applies styles to matched patterns in a text field.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add regex_pattern_text_fieldThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
regex_pattern_text_field: ^1.0.7Alternatively, 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:regex_pattern_text_field/regex_pattern_text_field.dart';