Search packages, repositories and app categories

Package detailsv0.1.3

rich_i18n

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

AndroidiOSWebmacOSWindowsLinux
30-day downloads
16
Likes
1
Pub points
150

Install package

flutter pub add rich_i18n

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

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

Categories

Dependencies

Dependency list 1 items

Projects using this package

No data available yet.