tooltip method
Widget
tooltip({
- Key? key,
- String? message,
- bool preferBelow = true,
- bool excludeFromSemantics = false,
- EdgeInsetsGeometry? padding,
- Decoration? decoration,
- TextStyle? textStyle,
- double? height,
- EdgeInsetsGeometry? margin,
- Duration? waitDuration,
- Duration? showDuration,
- bool? preferBelowForTab,
- double? verticalOffset,
- bool? enableFeedback,
- VoidCallback? onTriggered,
- TextAlign? textAlign,
- TooltipTriggerMode? triggerMode,
- InlineSpan? richMessage,
A widget that provides a textual description of the widget's purpose.
Implementation
Widget tooltip({
Key? key,
String? message,
bool preferBelow = true,
bool excludeFromSemantics = false,
EdgeInsetsGeometry? padding,
Decoration? decoration,
TextStyle? textStyle,
double? height,
EdgeInsetsGeometry? margin,
Duration? waitDuration,
Duration? showDuration,
bool? preferBelowForTab,
double? verticalOffset,
bool? enableFeedback,
VoidCallback? onTriggered,
TextAlign? textAlign,
TooltipTriggerMode? triggerMode,
InlineSpan? richMessage,
}) {
return Tooltip(
message: 'Tooltip',
key: key,
preferBelow: preferBelow,
excludeFromSemantics: excludeFromSemantics,
padding: padding,
decoration: decoration,
textStyle: textStyle,
height: height,
margin: margin,
waitDuration: waitDuration,
showDuration: showDuration,
verticalOffset: verticalOffset,
enableFeedback: enableFeedback,
onTriggered: onTriggered,
richMessage: richMessage,
textAlign: textAlign,
triggerMode: triggerMode,
child: this,
);
}