search_highlight_text_plus 1.2.0 copy "search_highlight_text_plus: ^1.2.0" to clipboard
search_highlight_text_plus: ^1.2.0 copied to clipboard

Simple Inherited Widget to highlight text in a search result, with custom highlight Color and highlight TextStyle.

1.2.0 #

  • add inlineSpans parameter to SearchHighlightText to append trailing InlineSpan children after the text/highlight spans (useful for icons, chips, badges, etc.)

1.1.0 #

  • added parameter to ignore diacritics
  • diacritic-insensitive matching now safely maps match indices back to the original string to avoid misaligned highlights and surrogate-pair splits (e.g., emoji)
  • when ignoreDiacritics is enabled, search patterns (searchText and searchRegExp) are normalized by removing diacritics from the pattern while preserving RegExp flags
  • avoid text being interpreted as a regular expression

1.0.0 #

  • reverse the order of changelog entries to be newest first
  • update readme file
  • update readme file.
  • Initial release.
0
likes
150
points
290
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Simple Inherited Widget to highlight text in a search result, with custom highlight Color and highlight TextStyle.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

diacritic, flutter

More

Packages that depend on search_highlight_text_plus