switchRowLabelClassName top-level constant

String const switchRowLabelClassName

The className the label inside a MSSwitchRow carries.

Separate from the row recipe because it belongs to the CHILD, and keeping it here is what stops a caller reconstructing the broken min-w-0-only version by hand. See switchRowRecipe for why flex-1 is load-bearing.

Implementation

const String switchRowLabelClassName = 'flex-1 min-w-0 text-sm text-fg';