FieldLabel constructor
Constructs an instance of FieldLabel.
Parameters:
label
: The text label to display.style
: The style to apply to the text label (optional).isRequired
: Indicates whether the field is required (default is false).
Implementation
const FieldLabel({
super.key,
required this.label,
this.style,
this.isRequired = false,
});