MacosTooltip constructor

const MacosTooltip({
  1. Key? key,
  2. required String message,
  3. Widget? child,
  4. bool excludeFromSemantics = false,
  5. bool useMousePosition = true,
})

Creates a tooltip.

Wrap any widget in a MacosTooltip to show a message on mouse hover or long press event

Implementation

const MacosTooltip({
  super.key,
  required this.message,
  this.child,
  this.excludeFromSemantics = false,
  this.useMousePosition = true,
});