performLayout method
Hook for subclasses to perform layout within the given constraints.
Implementation
@override
Size performLayout(BoxConstraints constraints) {
final selector = widget as NumberSelector;
final displayChars = '${selector.label}: < ${selector.value} >';
final w = displayChars.characters.length;
return constraints.constrain(Size(w, 1));
}