LabeledField constructor

const LabeledField({
  1. Key? key,
  2. required Widget child,
  3. required 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,
})

Implementation

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