Bidi class final
An ICU4X Bidi object, containing loaded bidi data
See the Rust documentation for BidiClass
for more information.
- Implemented types
Constructors
- Bidi.new()
-
Creates a new Bidi from locale data using compiled data.
factory
- Bidi.withProvider(DataProvider provider)
-
Creates a new Bidi from locale data, and a particular data source.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
forText(
String text, [int? defaultLevel]) → BidiInfo - Use the data loaded in this object to process a string and calculate bidi information
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reorderVisual(
List< int> levels) → ReorderedIndexMap - Utility function for producing reorderings given a list of levels
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
levelIsLtr(
int level) → bool - Check if a Level returned by level_at is an LTR level.
-
levelIsRtl(
int level) → bool - Check if a Level returned by level_at is an RTL level.
-
levelLtr(
) → int - Get a simple LTR Level value
-
levelRtl(
) → int - Get a basic RTL Level value