Panel labelComponent(String caption, Component comp) => Panel() ..fullWidth() ..addAll([ SimpleLabel() ..caption = caption ..width = '50%', comp..width = '50%' ]);