API Reference 0.3.24dart_web_toolkit_utilFontWeight<String>

FontWeight<String> class

Enum for the font-weight property.

class FontWeight<String> extends Enum<String> {

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

 static const FontWeight NORMAL = const FontWeight(Style._FONT_WEIGHT_NORMAL);
 static const FontWeight BOLD = const FontWeight(Style._FONT_WEIGHT_BOLD);
 static const FontWeight BOLDER = const FontWeight(Style._FONT_WEIGHT_BOLDER);
 static const FontWeight LIGHTER = const FontWeight(Style._FONT_WEIGHT_LIGHTER);
}

Extends

Enum<String> > FontWeight<String>

Static Properties

const FontWeight BOLD #

static const FontWeight BOLD = const FontWeight(Style._FONT_WEIGHT_BOLD)

const FontWeight BOLDER #

static const FontWeight BOLDER = const FontWeight(Style._FONT_WEIGHT_BOLDER)

const FontWeight LIGHTER #

static const FontWeight LIGHTER = const FontWeight(Style._FONT_WEIGHT_LIGHTER)

const FontWeight NORMAL #

static const FontWeight NORMAL = const FontWeight(Style._FONT_WEIGHT_NORMAL)

Constructors

const FontWeight(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 FontWeight(String type) : super (type);

Properties

final T value #

inherited from Enum
T get value => _value;