withTooltip method

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

Implementation

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