rich_text_controller library

A Flutter package for rich text editing with pattern matching and styling.

Classes

MatchTargetItem
A model class representing a match target for the RichTextController.
RichTextController
A custom TextEditingController that supports rich text styling based on regex patterns and word matching. It allows you to highlight specific text patterns and apply custom styles to matched text. Additionally, it supports dynamic updates, IME composition, and tap callbacks for matched text.
RichWrapper
A wrapper widget around text fields that provides real-time updates for the RichTextController's matching parameters.