text_word_highlighter 0.0.1 text_word_highlighter: ^0.0.1 copied to clipboard
A flutter package that highlight multiple words inside a text sentence.
Features #
Text word highlighter
Getting started #
List prerequisites and provide or point to information on how to start using the package.
Usage #
Get the example /example
folder.
TextWordHighlighter(
text: 'How are you? I am fine. I love fine.',
highlighterList: [
Highlighter(
index: 2,
style: const TextStyle(
color: Colors.red,
)),
Highlighter(
index: 5,
style: const TextStyle(
color: Colors.green,
)),
Highlighter(
index: 6,
style: const TextStyle(
color: Colors.blue,
)),
Highlighter(
index: 8,
style: const TextStyle(
color: Colors.orange,
)),
],
)
Additional information #
Coming soon.