withTooltip method

Widget withTooltip({
  1. required String msg,
})

Validate given widget is not null and returns given value if null.

Implementation

Widget withTooltip({required String msg}) {
  return Tooltip(message: msg, child: this);
}