FLUTTER ECOSYSTEM

rich_i18n

A Dart library for parsing rich text with XML tags into structured items.

Latest version
0.1.3
30-day downloads
17
Likes
1
Pub points
160

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

rich_i18n is a Dart library designed to parse rich text containing XML tags into structured, reusable UI elements. It enables developers to embed formatting and dynamic content within localized strings, supporting internationalization with enhanced text handling. The library processes tagged text such as <b>, <i>, or custom placeholders, converting them into Flutter widgets for display. Ideal for apps requiring formatted translations, it simplifies managing complex localized messages across multiple platforms.

Use cases
  • Localized rich text in app interfaces
  • Dynamic content insertion in translations
  • Formatted error messages
  • Multilingual support with styling
  • User-generated content localization
Key features
  • XML tag parsing in strings
  • Support for custom placeholder syntax
  • Integration with Flutter widgets
  • Cross-platform compatibility
  • Easy setup via pub add
  • Structured output for rendering
Suitable for
  • Apps with multilingual needs
  • Content-heavy applications
  • Teams managing translation assets
  • Developers using structured localization
  • Projects requiring styled text in translations
Considerations
  • Requires careful handling of nested tags
  • Limited to XML-style syntax
  • May need additional validation for dynamic content
  • Not suitable for full HTML rendering
  • Performance impact with large text blocks
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add rich_i18n

Categories

Related projects

No data available yet.