API Reference 0.3.24dart_web_toolkit_utilFontStyle<String>

FontStyle<String> class

Enum for the font-style property.

class FontStyle<String> extends Enum<String> {

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

 static const FontStyle NORMAL = const FontStyle(Style._FONT_STYLE_NORMAL);
 static const FontStyle ITALIC = const FontStyle(Style._FONT_STYLE_ITALIC);
 static const FontStyle OBLIQUE = const FontStyle(Style._FONT_STYLE_OBLIQUE);
}

Extends

Enum<String> > FontStyle<String>

Static Properties

const FontStyle ITALIC #

static const FontStyle ITALIC = const FontStyle(Style._FONT_STYLE_ITALIC)

const FontStyle NORMAL #

static const FontStyle NORMAL = const FontStyle(Style._FONT_STYLE_NORMAL)

const FontStyle OBLIQUE #

static const FontStyle OBLIQUE = const FontStyle(Style._FONT_STYLE_OBLIQUE)

Constructors

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

Properties

final T value #

inherited from Enum
T get value => _value;