getLabelWidth static method
Returns the label width set by the enclosing section, or null.
Implementation
static double? getLabelWidth(BuildContext context) {
return context
.dependOnInheritedWidgetOfExactType<DraftModeUISectionScope>()
?.labelWidth;
}