API Reference 0.3.24dart_web_toolkit_layoutAlignment<String>

Alignment<String> class

Used to specify the alignment of child elements within a layer.

class Alignment<String> extends Enum<String> {

 const Alignment(String type) : super (type);

 /**
  * Positions an element at the beginning of a given axis.
  */
 static const Alignment BEGIN = const Alignment("BEGIN");

 /**
  * Positions an element at the beginning of a given axis.
  */
 static const Alignment END = const Alignment("END");

 /**
  * Stretches an element to fill the layer on a given axis.
  */
 static const Alignment STRETCH = const Alignment("STRETCH");
}

Extends

Enum<String> > Alignment<String>

Static Properties

const Alignment BEGIN #

Positions an element at the beginning of a given axis.

static const Alignment BEGIN = const Alignment("BEGIN")

const Alignment END #

Positions an element at the beginning of a given axis.

static const Alignment END = const Alignment("END")

const Alignment STRETCH #

Stretches an element to fill the layer on a given axis.

static const Alignment STRETCH = const Alignment("STRETCH")

Constructors

const Alignment(String type) #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
const Alignment(String type) : super (type);

Properties

final T value #

inherited from Enum
T get value => _value;