Tooltip constructor

Tooltip({
  1. required String message,
  2. required Widget child,
  3. TooltipPosition position = TooltipPosition.above,
  4. bool? show,
  5. EdgeInsets? padding,
  6. Color? background,
  7. Color? foreground,
  8. Style? textStyle,
  9. bool enabled = true,
  10. Key? key,
})

Implementation

Tooltip({
  required this.message,
  required this.child,
  this.position = TooltipPosition.above,
  this.show,
  this.padding,
  this.background,
  this.foreground,
  this.textStyle,
  this.enabled = true,
  super.key,
});