subheader property

double get subheader

Subheadings for content sections.

Size: paragraphTitle × scaleFactor (default: 28.7 × 1.27 = ~36.5px)

Use cases:

  • Subsection headings
  • Dialog titles
  • Bottom sheet headers
  • Tab labels (when large)

Example:

AppBar(
  title: Text(
    'Settings',
    style: TextStyle(fontSize: appFontSizes.subheader),
  ),
)

Implementation

double get subheader => paragraphTitle * _scaleFactor;