hideDelay property

double hideDelay
final

Provides the time delay to disappear the trackball on touch. The provided value will be considered as milliseconds. When `shouldAlwaysShow` is set as false, the value provided to this property will be considered as a delay.

Defaults to 0.

@override
Widget build(BuildContext context) {
 return Scaffold(
   body: Center(
       child: SfSparkAreaChart(
     trackball: SparkChartTrackball(
       shouldAlwaysShow: true,
       hideDelay: 200,
     ),
     data: <double>[18, 24, 30, 14, 28],
   )),
 );
}

Implementation

final double hideDelay;