TooltipWrapper constructor

const TooltipWrapper({
  1. Key? key,
  2. required Widget child,
  3. required String message,
  4. TooltipPosition position = TooltipPosition.top,
  5. Color backgroundColor = Colors.white,
  6. Color textColor = Colors.black,
  7. double arrowSize = 6.0,
  8. EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
  9. double borderRadius = 4.0,
  10. bool showArrow = true,
  11. bool autoShow = false,
  12. Duration showDelay = const Duration(milliseconds: 500),
})

Implementation

const TooltipWrapper({
  super.key,
  required this.child,
  required this.message,
  this.position = TooltipPosition.top,
  this.backgroundColor = Colors.white,
  this.textColor = Colors.black,
  this.arrowSize = 6.0,
  this.padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
  this.borderRadius = 4.0,
  this.showArrow = true,
  this.autoShow = false,
  this.showDelay = const Duration(milliseconds: 500),
});