API Reference 0.7.1rikulo_layoutAmountType

AmountType class

The types of AmountInfo.

class AmountType {
 /** Represents none.
  */
 static const AmountType NONE = const AmountType._("none");
 /** Represents fixed.
  */
 static const AmountType FIXED = const AmountType._("fixed");
 /** Represents flex.
  */
 static const AmountType FLEX = const AmountType._("flex");
 /** Represents ratio.
  */
 static const AmountType RATIO = const AmountType._("ratio");
 /** Represents content.
  */
 static const AmountType CONTENT = const AmountType._("content");
 /** Represents ignore.
  */
 static const AmountType IGNORE = const AmountType._("ignore");

 const AmountType._(this.name);

 /** The name of this direction. */
 final String name;

 String toString() => name;
}

Static Properties

const AmountType CONTENT #

Represents content.

static const AmountType CONTENT = const AmountType._("content")

const AmountType FIXED #

Represents fixed.

static const AmountType FIXED = const AmountType._("fixed")

const AmountType FLEX #

Represents flex.

static const AmountType FLEX = const AmountType._("flex")

const AmountType IGNORE #

Represents ignore.

static const AmountType IGNORE = const AmountType._("ignore")

const AmountType NONE #

Represents none.

static const AmountType NONE = const AmountType._("none")

const AmountType RATIO #

Represents ratio.

static const AmountType RATIO = const AmountType._("ratio")

Properties

final String name #

The name of this direction.

final String name

Methods

String toString() #

Returns a string representation of this object.

docs inherited from Object
String toString() => name;