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 preferToolTipBelow = false,
  9. TooltipTriggerMode tooltipTriggerMode = TooltipTriggerMode.tap,
  10. TextStyle? textStyle,
  11. bool isRequired = false,
})

Implementation

const LabeledField({
  super.key,
  required this.child,
  this.label,
  this.icon,
  this.tooltipMessage,
  this.labelStyle,
  this.padding,
  this.preferToolTipBelow = false,
  this.tooltipTriggerMode = TooltipTriggerMode.tap,
  this.textStyle,
  this.isRequired = false,
});