RATooltip constructor
const
RATooltip({
- String? message,
- Widget? customMessage,
- required Widget? child,
- TextAlign? messageAlign = TextAlign.center,
- Key? key,
- Color? color,
- RATooltipTrigger trigger = RATooltipTrigger.tap,
- bool enabled = true,
- RATooltipPosition position = RATooltipPosition.top,
- void onTapOutside()?,
- TextStyle? messageStyle,
- EdgeInsets? padding,
- 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);