FontWeights extension
Converts in a simple way a textStyle to the desired font weight.
Example usage:
context.textStyles.h1.semiBold
- on
Properties
- bold → TextStyle
-
Bold
no setter
- extraBold → TextStyle
-
Extra-bold
no setter
- extraLight → TextStyle
-
Extra-light
no setter
- light → TextStyle
-
Light
no setter
- medium → TextStyle
-
Medium
no setter
- regular → TextStyle
-
Normal, regular, plain
no setter
- semiBold → TextStyle
-
Semi-bold
no setter
- thick → TextStyle
-
Black, the most thick
no setter
- thin → TextStyle
-
Thin, the least thick
no setter