LabeledField constructor
const
LabeledField({
- Key? key,
- required Widget child,
- String? label,
- String? description,
- TextStyle? descriptionStyle,
- IconData? icon,
- String? tooltipMessage,
- TextStyle? labelStyle,
- EdgeInsets? padding,
- bool preferToolTipBelow = false,
- TooltipTriggerMode tooltipTriggerMode = TooltipTriggerMode.tap,
- TextStyle? textStyle,
- bool isRequired = false,
Implementation
const LabeledField({
super.key,
required this.child,
this.label,
this.description,
this.descriptionStyle,
this.icon,
this.tooltipMessage,
this.labelStyle,
this.padding,
this.preferToolTipBelow = false,
this.tooltipTriggerMode = TooltipTriggerMode.tap,
this.textStyle,
this.isRequired = false,
});