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

Adds extension methods to highlight substrings in Text or String using Text.rich and custom styles. Simple inline highlighting with minimal code.

Changelog #

All notable changes to this project will be documented in this file.

0.0.1 - 2025-06-03 #

🎉 Initial release of rich_highlight_text_codespark!

✨ Features #

  • Added .highlight() extension to Text for highlighting a single substring.
  • Added .highlightMultiple() extension to Text for multiple substrings.
  • Support for:
    • Case-sensitive and case-insensitive matching.
    • Highlighting first, last, or all occurrences (HighlightMode enum).
    • Fully customizable TextStyle for highlighted parts.
  • Handles overlapping and adjacent highlights gracefully.
  • Unicode-safe: works with international characters and emojis.
  • Designed to integrate seamlessly with existing Text widgets.
5
likes
160
points
38
downloads
screenshot

Publisher

verified publisherksaikiran.tech

Weekly Downloads

Adds extension methods to highlight substrings in Text or String using Text.rich and custom styles. Simple inline highlighting with minimal code.

Homepage

Topics

#text #highlight #richtext #inline-style #textspan

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on rich_highlight_text_codespark