getHeaderSpacing method

double getHeaderSpacing()

Returns the vertical spacing above the field header.

Gets the header spacing from the field's style configuration, defaulting to 5 pixels if not specified.

Implementation

double getHeaderSpacing() => style.headerSpacing ?? 5;