trackPadding property Null safety

double trackPadding
final

Padding of the track.

Defaults to 0

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

Implementation

final double trackPadding;