Tooltip constructor

const Tooltip({
  1. Key? key,
  2. required Widget child,
  3. required Widget tooltip,
  4. AlignmentGeometry alignment = Alignment.topCenter,
  5. AlignmentGeometry anchorAlignment = Alignment.bottomCenter,
  6. Duration waitDuration = const Duration(milliseconds: 500),
  7. Duration showDuration = const Duration(milliseconds: 200),
  8. 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),
});