duration property

double duration
final

Duration for displaying the tooltip.

Defaults to 3000.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          tooltipBehavior: TooltipBehavior(enable: true, duration: 1000),
       ));
}

Implementation

final double duration;