fluent2CapCentred function

Widget fluent2CapCentred(
  1. Widget label
)

label, a face's one-line words, drawn so the middle of its capitals is the middle of its box: whatever centres the box (a button's face, a tab, a menu row) then centres the capitals, not the line's ascent and descent. Wrap the words alone, never an icon. Plumbing of the components; pages never write it.

Implementation

Widget fluent2CapCentred(Widget label) => debugFluent2CapCentring
    ? DesignCapCenter(capHeightFactor: fluent2CapHeight, child: label)
    : label;