MacosTooltip constructor

const MacosTooltip({
  1. Key? key,
  2. required String message,
  3. Widget? child,
  4. TooltipThemeData? style,
  5. bool excludeFromSemantics = false,
  6. 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({
  Key? key,
  required this.message,
  this.child,
  this.style,
  this.excludeFromSemantics = false,
  this.useMousePosition = true,
}) : super(key: key);