Tooltip constructor
Tooltip({
- required String message,
- required Widget child,
- TooltipPosition position = TooltipPosition.above,
- bool? show,
- EdgeInsets? padding,
- Color? background,
- Color? foreground,
- Style? textStyle,
- bool enabled = true,
- Key? key,
Implementation
Tooltip({
required this.message,
required this.child,
this.position = TooltipPosition.above,
this.show,
this.padding,
this.background,
this.foreground,
this.textStyle,
this.enabled = true,
super.key,
});