LabelWidget constructor
const
LabelWidget({})
This widget uses TextTheme.displayMedium for the label text style.
It has a default font size of 16 and a default color of colorScheme.onSurface.
It has a default vertical spacing of 10 between the label and the child widget.
The child widget is displayed below the label.
Implementation
const LabelWidget({
super.key,
required this.child,
required this.label,
this.verticalSpacing,
});