TooltipRenderObject constructor

TooltipRenderObject({
  1. required SfTooltipState tooltipState,
  2. required Animation<double> tooltipAnimation,
  3. required AnimationController animationController,
  4. Key? key,
  5. Widget? template,
})

Creating an argument constructor of TooltipRenderObject class.

Implementation

// ignore: prefer_const_constructors_in_immutables
TooltipRenderObject({
  required SfTooltipState tooltipState,
  required Animation<double> tooltipAnimation,
  required AnimationController animationController,
  super.key,
  Widget? template,
}) : _tooltipState = tooltipState,
     _tooltipAnimation = tooltipAnimation,
     _animationController = animationController,
     super(child: template);