header property

double get header

Main section headings.

Size: subheader × scaleFactor (default: 36.5 × 1.27 = ~46.4px)

Use cases:

  • Page section headers
  • Main navigation items
  • Feature titles
  • App bar titles

Example:

Text(
  'Main Section',
  style: TextStyle(
    fontSize: appFontSizes.header,
    fontWeight: FontWeight.w600,
  ),
)

Implementation

double get header => subheader * _scaleFactor;