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
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