The thickness of the glyphs used to draw the text

Constants

bold FontWeight

A commonly used font weight that is heavier than normal.

w700
normal FontWeight

The default font weight.

w400
values List<FontWeight>

A list of all the font weights.

const [w100, w200, w300, w400, w500, w600, w700, w800, w900]
w100 FontWeight

Thin, the least thick

const FontWeight._(0)
w200 FontWeight

Extra-light

const FontWeight._(1)
w300 FontWeight

Light

const FontWeight._(2)
w400 FontWeight

Normal / regular / plain

const FontWeight._(3)
w500 FontWeight

Medium

const FontWeight._(4)
w600 FontWeight

Semi-bold

const FontWeight._(5)
w700 FontWeight

Bold

const FontWeight._(6)
w800 FontWeight

Extra-bold

const FontWeight._(7)
w900 FontWeight

Black, the most thick

const FontWeight._(8)

Static Methods

lerp(FontWeight begin, FontWeight end, double t) FontWeight

Linearly interpolates between two font weights.

Properties

index int

The encoded integer value of this font weight.

read-only
hashCode int

Get a hash code for this object.

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

toString() String

Returns a string representation of this object.

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited