LabeledField constructor

const LabeledField({
  1. Key? key,
  2. required Widget child,
  3. String? label,
  4. String? description,
  5. TextStyle? descriptionStyle,
  6. IconData? icon,
  7. String? tooltipMessage,
  8. TextStyle? labelStyle,
  9. EdgeInsets? padding,
  10. bool preferToolTipBelow = false,
  11. TooltipTriggerMode tooltipTriggerMode = TooltipTriggerMode.tap,
  12. TextStyle? textStyle,
  13. 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,
});