API Reference 0.7.1rikulo_viewDir

Dir class

The direction enumeration.

class Dir {
 /** Represents the vertical direction.
  */
 static const Dir VERTICAL = const Dir._("vertical");
 /** Represents the horizontal direction.
  */
 static const Dir HORIZONTAL = const Dir._("horizontal");
 /** Represents the both direction.
  */
 static const Dir BOTH = const Dir._("both");

 const Dir._(this.name);

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

 String toString() => name;
}

Static Properties

const Dir BOTH #

Represents the both direction.

static const Dir BOTH = const Dir._("both")

const Dir HORIZONTAL #

Represents the horizontal direction.

static const Dir HORIZONTAL = const Dir._("horizontal")

const Dir VERTICAL #

Represents the vertical direction.

static const Dir VERTICAL = const Dir._("vertical")

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;