TooltipRenderObject constructor
TooltipRenderObject({
- Key? key,
- 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(
{super.key,
Widget? template,
required SfTooltipState tooltipState,
required Animation<double> tooltipAnimation,
required AnimationController animationController})
: _tooltipState = tooltipState,
_tooltipAnimation = tooltipAnimation,
_animationController = animationController,
super(child: template);