TooltipRenderObject constructor

TooltipRenderObject({
  1. Widget? template,
  2. required SfTooltipState tooltipState,
  3. required Animation<double> tooltipAnimation,
  4. 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);