TextDirection<int> class
Possible return values for {@link HasDirection#getDirection()} and parameter values for {@link HasDirection#setDirection(Direction)}.Widgets that implement this interface can either have a direction that is right-to-left (RTL), left-to-right (LTR), or default (which means that their directionality is inherited from their parent widget).
class TextDirection<int> extends Enum<int> { const TextDirection(int type) : super(type); static const TextDirection RTL = const TextDirection(0); static const TextDirection LTR = const TextDirection(1); static const TextDirection DEFAULT = const TextDirection(2); }
Extends
Enum<int> > TextDirection<int>
Static Properties
const TextDirection DEFAULT #
static const TextDirection DEFAULT = const TextDirection(2)
const TextDirection LTR #
static const TextDirection LTR = const TextDirection(1)
const TextDirection RTL #
static const TextDirection RTL = const TextDirection(0)