dynamic_text_highlighting 0.0.25 dynamic_text_highlighting: ^0.0.25 copied to clipboard
Dynamic Text Highlighting (DTH) is a Flutter package written in pure Dart, ideal for highlighting search results.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add dynamic_text_highlighting
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
dynamic_text_highlighting: ^0.0.25
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:dynamic_text_highlighting/dynamic_text_highlighting.dart';