TooltipBuilder typedef
TooltipBuilder =
Widget Function(BuildContext context, Widget tooltip, Widget scrim)
The interface for a tooltip builder. This is useful when the user wants to insert the tooltip into a stack rather than an overlay
Implementation
typedef TooltipBuilder = Widget Function(
BuildContext context,
Widget tooltip,
/// This widget should be placed behind the tooltip. When tapped, it will
/// collapse the tooltip. When, isModal is set to false, this will always be
/// null
Widget scrim,
);