emphasize 1.0.0 copy "emphasize: ^1.0.0" to clipboard
emphasize: ^1.0.0 copied to clipboard

outdated

Lightweight customizable widget to display text with highlighted words or word groups.

Highlights custom words or word groups in a text.

This package has no issue with numbers or special characters in the text or highlighted words. It can also easily handle overlapping words or words embedded within each other.

Features #

  • highlight words or word groups in a text
  • overlapping words are combined to one highlighted block
  • can handle numbers and special characters embedded in the text or words

Getting started #

To use this package, add emphasize as a dependency in your pubspec.yaml file.

Usage #

Emphasize emphasizedText = Emphasize(
  text: 'The quick brown Fox jumps over the lazy Dog',
  words: ['brown fox', 'lazy dog'],
  caseSensitive: false,
);

The Emphasize object is a StatelessWidget which can be used like any other widget.

Additional information #

This package's repository can be found on GitHub: https://github.com/caylab/emphasize

There you can file issues, request features and contribute to the project if you feel like doing so. :)

9
likes
0
points
250
downloads

Publisher

verified publishercaylab.org

Weekly Downloads

Lightweight customizable widget to display text with highlighted words or word groups.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on emphasize