LabeledField constructor
const
LabeledField({
- Key? key,
- required Widget child,
- String? label,
- IconData? icon,
- String? tooltipMessage,
- TextStyle? labelStyle,
- EdgeInsets? padding,
- bool isRequired = false,
- bool? info,
- String? infoText,
- bool preferToolTipBelow = false,
- TooltipTriggerMode tooltipTriggerMode = TooltipTriggerMode.tap,
- TextStyle? textStyle,
- TooltipTriggerMode triggerMode = TooltipTriggerMode.tap,
- bool wrapLabelText = true,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.start,
- bool capitalizedFirstLetter = true,
Implementation
const LabeledField({
super.key,
required this.child,
this.label,
this.icon,
this.tooltipMessage,
this.labelStyle,
this.padding,
this.isRequired = false,
this.info,
this.infoText,
this.preferToolTipBelow = false,
this.tooltipTriggerMode = TooltipTriggerMode.tap,
this.textStyle,
this.triggerMode = TooltipTriggerMode.tap,
this.wrapLabelText = true,
this.mainAxisAlignment = MainAxisAlignment.start,
this.crossAxisAlignment = CrossAxisAlignment.start,
this.capitalizedFirstLetter = true,
});