highlight_text 1.3.0 highlight_text: ^1.3.0 copied to clipboard
With this package you can highlight words and create specific styles and actions.
binding parameter to
TextHighlight, now you can define what occurrence you want to highlight with
Fixed first word not matching
matchCase to be clearer about what it does
matchCase: false will keep the original word
Fixed error when you add a word in the dictionary that is not in the sentence.
HighlightedWord object, now you can customize your words better.
Added null safety support
RangeError for a
HighlightedWord ending with a blank space fixed
Working with numbers
HighlightedWord working with more than one word
Some corrections in the example.
Now you can choose to differentiate words with upper and lower case.
Fixed the problem of the last word is not always highlighted.
If the highlighted word has special characters then it is only highlighted if it has only one character.
Now the highlights work in words followed by special characters, numbers or complementary words.
The meaning attribute was removed from the HighlightedWord class; the onTap is working normally.
Minor maintenance fixes
With this package you can highlight words and create specific actions for each highlighted word, you can customize the style of each word separately or create a unique style for all of them, you can also customize the style of the rest of the text.