trackPadding property Null safety

double trackPadding

Padding of the track.

By default, track will be rendered based on the bar’s available width and spacing. If you wish to change the track width, you can use this property.

Defaults to 0

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           selectionGesture: ActivationMode.doubleTap,
           series: <HistogramSeries<SalesData, num>>[
               HistogramSeries<SalesData, num>(
                 isTrackVisible: true,
                 trackPadding: 2


final double trackPadding;