headerHeightOf static method

double headerHeightOf(
  1. BuildContext context
)

The heading row's height at context: 32 on the desktop, a target (44, 48 under a finger) elsewhere.

Implementation

static double headerHeightOf(BuildContext context) =>
    Fluent2Layout.isWide(context) && !Fluent2Layout.padded(context)
    ? 32
    : Fluent2Layout.hitTargetOf(context);