tooltip method

  1. @Deprecated('Use withTooltip() instead')
Widget tooltip({
  1. required String msg,
})

Shows msg in a tooltip when this widget is hovered or long-pressed.

Implementation

@Deprecated('Use withTooltip() instead')
Widget tooltip({required String msg}) {
  return Tooltip(message: msg, child: this);
}