LabeledField constructor

const LabeledField({
  1. Key? key,
  2. required Widget child,
  3. String? label,
  4. IconData? icon,
  5. String? tooltipMessage,
  6. TextStyle? labelStyle,
  7. EdgeInsets? padding,
  8. bool isRequired = false,
  9. bool? info,
  10. String? infoText,
  11. bool preferToolTipBelow = false,
  12. TooltipTriggerMode tooltipTriggerMode = TooltipTriggerMode.tap,
  13. TextStyle? textStyle,
  14. TooltipTriggerMode triggerMode = TooltipTriggerMode.tap,
  15. bool wrapLabelText = true,
  16. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
  17. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.start,
  18. 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,
});