TextDirection class Null safety
Represents directionality of text.
In most cases, it is preferable to use bidi_formatter.dart, which provides bidi functionality in the given directional context, instead of using bidi_utils.dart directly.
- hashCode → int
The hash code for this object. [...]
- runtimeType → Type
A representation of the runtime type of the object.
- spanText → String
Textual representation of the directionality when used in span tag.
- value → String
Textual representation of the directionality constant. One of
'LTR', 'RTL', or 'UNKNOWN'.
TextDirection otherDirection) → bool
Returns true if
otherDirectionis known to be different from this direction.
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
) → String
A string representation of this object. [...]