Tooltip constructor
const
Tooltip({
- Key? key,
- required Widget child,
- required Widget tooltip,
- AlignmentGeometry alignment = Alignment.topCenter,
- AlignmentGeometry anchorAlignment = Alignment.bottomCenter,
- Duration waitDuration = const Duration(milliseconds: 500),
- Duration showDuration = const Duration(milliseconds: 200),
- Duration minDuration = const Duration(milliseconds: 0),
Implementation
const Tooltip({
super.key,
required this.child,
required this.tooltip,
this.alignment = Alignment.topCenter,
this.anchorAlignment = Alignment.bottomCenter,
this.waitDuration = const Duration(milliseconds: 500),
this.showDuration = const Duration(milliseconds: 200),
this.minDuration = const Duration(milliseconds: 0),
});