TooltipRenderObject constructor
TooltipRenderObject({
- Widget? template,
- required SfTooltipState tooltipState,
- required Animation<
double> tooltipAnimation, - required AnimationController animationController,
Creating an argument constructor of TooltipRenderObject class.
Implementation
// ignore: prefer_const_constructors_in_immutables
TooltipRenderObject(
{Widget? template,
required SfTooltipState tooltipState,
required Animation<double> tooltipAnimation,
required AnimationController animationController})
: _tooltipState = tooltipState,
_tooltipAnimation = tooltipAnimation,
_animationController = animationController,
super(child: template);