FontWeight class
The thickness of the glyphs used to draw the text
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- bold → const FontWeight
- A commonly used font weight that is heavier than normal.
- normal → const FontWeight
- The default font weight.
-
values
→ const List<
FontWeight> - A list of all the font weights.
- w100 → const FontWeight
- Thin, the least thick
- w200 → const FontWeight
- Extra-light
- w300 → const FontWeight
- Light
- w400 → const FontWeight
- Normal / regular / plain
- w500 → const FontWeight
- Medium
- w600 → const FontWeight
- Semi-bold
- w700 → const FontWeight
- Bold
- w800 → const FontWeight
- Extra-bold
- w900 → const FontWeight
- Black, the most thick