flutter_bidi_text library

Flutter package for text widgets with automatic bidirectional text direction detection

This package provides four main widgets:

  • BidiText - A Text widget with automatic direction detection
  • BidiRichText - A RichText widget with automatic direction detection
  • BidiTextField - A TextField with automatic direction detection
  • BidiTextFormField - A TextFormField with automatic direction detection

It also exports utility functions for direction detection that can be used separately.

Classes

BidiHelper
A utility class that provides methods for detecting and estimating text directionality.
BidiRichText
A rich text widget that automatically detects and sets text direction based on content.
BidiText
A text widget that automatically detects and sets text direction based on content.
BidiTextField
A text field widget that automatically detects and sets text direction based on content.
BidiTextFormField
A FormField that contains a BidiTextField.

Enums

SmartDashesType
Indicates how to handle the intelligent replacement of dashes in text input.
SmartQuotesType
Indicates how to handle the intelligent replacement of quotes in text input.