TextDirectionUtility<T extends Attribute> class

A utility class for creating Attribute instances from TextDirection values.

This class extends ScalarUtility and provides methods to create Attribute instances from predefined TextDirection values.

Inheritance

Constructors

TextDirectionUtility(T builder(TextDirection))
const

Properties

builder → T Function(TextDirection)
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(TextDirection value) → T
inherited
ltr() → T
Creates an Attribute instance with TextDirection.ltr.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rtl() → T
Creates an Attribute instance with TextDirection.rtl.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited