wrap abstract method

Widget wrap(
  1. BuildContext context,
  2. Widget child
)

Return a copy of this inherited theme with the specified child.

This implementation for TooltipTheme is typical:

Widget wrap(BuildContext context, Widget child) {
  return TooltipTheme(data: data, child: child);
}

Implementation

Widget wrap(BuildContext context, Widget child);