RATooltip constructor

const RATooltip({
  1. String? message,
  2. Widget? customMessage,
  3. required Widget? child,
  4. TextAlign? messageAlign = TextAlign.center,
  5. Key? key,
  6. Color? color,
  7. RATooltipTrigger trigger = RATooltipTrigger.tap,
  8. bool enabled = true,
  9. RATooltipPosition position = RATooltipPosition.top,
  10. void onTapOutside(
    1. PointerDownEvent
    )?,
  11. TextStyle? messageStyle,
  12. EdgeInsets? padding,
  13. List<BoxShadow>? boxShadow,
})

Implementation

const RATooltip({
  this.message,
  this.customMessage,
  required this.child,
  this.messageAlign = TextAlign.center,
  super.key,
  this.color,
  this.trigger = RATooltipTrigger.tap,
  this.enabled = true,
  this.position = RATooltipPosition.top,
  this.onTapOutside,
  this.messageStyle,
  this.padding,
  this.boxShadow,
}) : assert(child != null || key != null);