flutter_decorated_text 2.1.0 copy "flutter_decorated_text: ^2.1.0" to clipboard
flutter_decorated_text: ^2.1.0 copied to clipboard

A widget to style and interact with parts of a text based on rules. Match words, phrases, or patterns and apply custom styles or actions.

2.1.0 Performance improvements #

  • Cache compiled RegExp objects to avoid recompilation on every build
  • Cache TextSpan in DecoratedTextEditingController when text is unchanged
  • Optimize tag deduplication from O(n^2) to O(n log n)
  • Use RegExp identity lookup instead of string matching for rule resolution
  • Remove IntrinsicWidth to eliminate unnecessary two-pass layout
  • Reduce redundant text extraction in decoration span builder

2.0.2 Fix overflow #

  • Fix overflow issue

2.0.1 Add match parameter to builder function #

  • Add match parameter to builder function

2.0.0 Updated for flutter 3.0 #

  • Update for flutter 3.0
  • Add custom builder for rules

1.0.14 Update package dependencies #

  • Update README and package description
  • Add new example for matching emojis
  • Update package dependencies

1.0.12 Add email RegExp #

  • Add DecoratorRule.email

1.0.11 Fix cursor (web) #

  • Fix cursor (web)

1.0.10 Fix loose url RegExp #

  • Fix loose url RegExp

1.0.8 Fix web #

  • fix web support

1.0.6 New feature, fixes #

  • add removeMatchingCharacters to DecoratorRule.between
  • fix default regexp when using characters like *

1.0.5 leading and trailing builder #

  • add leading and trailing builder

1.0.4 add transform match #

  • add transformMatch to DecoratorRule
  • add humanize and removeWww options to DecoratorRule.url

1.0.3 add new rules, selectable text #

  • add DecoratorRule.startsWith
  • add DecoratorRule.between
  • add support for selectable text

1.0.2 add DecoratorRule.words #

  • add DecoratorRule.words to match multiple words

1.0.1 add parameters to DecoratorRule.url and DecoratorRule.word #

  • add looseUrl param to DecoratorRule.url
  • add caseSensitive param to DecoratorRule.word

1.0.0 initial release #

  • initial release
59
likes
160
points
360
downloads

Documentation

API reference

Publisher

verified publishergabdsg.com

Weekly Downloads

A widget to style and interact with parts of a text based on rules. Match words, phrases, or patterns and apply custom styles or actions.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

collection, flutter

More

Packages that depend on flutter_decorated_text