fontWeight property
Direct convenience shortcut for font weight without creating a TextStyle.
- Overrides
style?.fontWeight. - Falls back to
FontWeight.w400if both fontWeight andstyle?.fontWeightarenull.
Implementation
final FontWeight? fontWeight;