substring_highlight 0.0.1 copy "substring_highlight: ^0.0.1" to clipboard
substring_highlight: ^0.0.1 copied to clipboard

outdated

Highlight text at the letter-level. Designed for search-term highlighting, a single search sub-string is highlighted (perhaps multiple tiimes) within a longer string. Like the existing package &qu [...]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add substring_highlight

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  substring_highlight: ^0.0.1

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:substring_highlight/substring_highlight.dart';
184
likes
0
pub points
98%
popularity

Publisher

verified publisheronlyup.com

Highlight text at the letter-level. Designed for search-term highlighting, a single search sub-string is highlighted (perhaps multiple tiimes) within a longer string. Like the existing package "highlight_text," but highlights sub-word character matches ('t' in 'Peter'), and only supports a single search term. Does NOT currently support clickable highlights.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on substring_highlight