TooltipVisibility constructor Null safety

const TooltipVisibility(
  1. {Key? key,
  2. required bool visible,
  3. required Widget child}
)

Creates a widget that configures the visibility of Tooltip.

Both arguments must not be null.

Implementation

const TooltipVisibility({
  super.key,
  required this.visible,
  required this.child,
});