tooltip method

Widget tooltip({
  1. Key? key,
  2. String? message,
  3. InlineSpan? richMessage,
  4. double? height,
  5. EdgeInsetsGeometry? padding,
  6. EdgeInsetsGeometry? margin,
  7. double? verticalOffset,
  8. bool? preferBelow,
  9. bool? excludeFromSemantics,
  10. Decoration? decoration,
  11. TextStyle? textStyle,
  12. TextAlign? textAlign,
  13. Duration? waitDuration,
  14. Duration? showDuration,
  15. Duration? exitDuration,
  16. bool? enableTapToDismiss,
  17. TooltipTriggerMode? triggerMode,
  18. bool? enableFeedback,
  19. void onTriggered()?,
})

Implementation

Widget tooltip({
  Key? key,
  String? message,
  InlineSpan? richMessage,
  double? height,
  EdgeInsetsGeometry? padding,
  EdgeInsetsGeometry? margin,
  double? verticalOffset,
  bool? preferBelow,
  bool? excludeFromSemantics,
  Decoration? decoration,
  TextStyle? textStyle,
  TextAlign? textAlign,
  Duration? waitDuration,
  Duration? showDuration,
  Duration? exitDuration,
  bool? enableTapToDismiss,
  TooltipTriggerMode? triggerMode,
  bool? enableFeedback,
  void Function()? onTriggered,
}) =>
    Tooltip(
      key: key,
      message: message,
      richMessage: richMessage,
      height: height,
      padding: padding,
      margin: margin,
      verticalOffset: verticalOffset,
      preferBelow: preferBelow,
      excludeFromSemantics: excludeFromSemantics,
      decoration: decoration,
      textStyle: textStyle,
      textAlign: textAlign,
      waitDuration: waitDuration,
      showDuration: showDuration,
      exitDuration: exitDuration,
      enableTapToDismiss: enableTapToDismiss ?? true,
      triggerMode: triggerMode,
      enableFeedback: enableFeedback,
      onTriggered: onTriggered,
      child: this,
    );