Search categories, packages and repositories

Package detailsv2.0.13

bidi

Implementation of the Unicode Bidirectional Algorithm (UBA). Converts logical strings to their equivalent visual representation.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
1.9M
Likes
20
Pub points
160

Install package

flutter pub add bidi

Package Overview

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

The bidi package implements the Unicode Bidirectional Algorithm (UBA) to correctly render text with mixed right-to-left and left-to-right scripts, such as Arabic, Hebrew, and English. It converts logical character sequences into their proper visual order, ensuring accurate display in multilingual applications. This is essential for localization and internationalization, particularly in regions where RTL languages are used. The package supports all major platforms, including mobile, web, and desktop, making it a reliable choice for globalized apps.

Use cases

  • Rendering mixed LTR and RTL text
  • Supporting Arabic and Hebrew text in apps
  • Correcting text layout in multilingual UIs
  • Internationalized user interfaces
  • Text processing in RTL languages

Key features

  • Full UBA compliance
  • Cross-platform support
  • Logical-to-visual text conversion
  • Lightweight and efficient
  • Easy integration with Flutter

Suitable for

  • Apps targeting Middle Eastern or North African markets
  • Globalized Flutter applications
  • Text rendering in RTL languages
  • Developers needing precise bidirectional text handling
  • Localization teams

Considerations

  • Requires understanding of bidirectional text rules
  • May need additional styling for complex layouts
  • Not a full text editor but a rendering tool
  • Limited to text direction logic, not formatting
  • Best used with appropriate font and text widget configurations

Categories

Projects using this package