withTooltip method

Widget withTooltip(
  1. String message, {
  2. required Decoration decoration,
  3. required double height,
  4. required bool preferBelow,
  5. required EdgeInsetsGeometry padding,
  6. required TextStyle textStyle,
  7. required Duration waitDuration,
  8. required EdgeInsetsGeometry margin,
})

Implementation

Widget withTooltip(
  String message, {
  required Decoration decoration,
  required double height,
  required bool preferBelow,
  required EdgeInsetsGeometry padding,
  required TextStyle textStyle,
  required Duration waitDuration,
  required EdgeInsetsGeometry margin,
}) =>
    Tooltip(
      message: message,
      decoration: decoration,
      height: height,
      padding: padding,
      preferBelow: preferBelow,
      textStyle: textStyle,
      waitDuration: waitDuration,
      margin: margin,
      child: this,
    );