fontWeight property

FontWeight? fontWeight
final

Direct convenience shortcut for font weight without creating a TextStyle.

  • Overrides style?.fontWeight.
  • Falls back to FontWeight.w400 if both fontWeight and style?.fontWeight are null.

Implementation

final FontWeight? fontWeight;