FontWeight enum

The value of the font weight.

This matches the enum values defined in dart:ui.

Inheritance

Constructors

FontWeight()
const

Values

w100 → const FontWeight

A font weight of 100,

w200 → const FontWeight

A font weight of 200,

w300 → const FontWeight

A font weight of 300,

w400 → const FontWeight

A font weight of 400,

w500 → const FontWeight

A font weight of 500,

w600 → const FontWeight

A font weight of 600,

w700 → const FontWeight

A font weight of 700,

w800 → const FontWeight

A font weight of 800,

w900 → const FontWeight

A font weight of 900,

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<FontWeight>
A constant List of the values in this enum, in order of their declaration.