trackPadding property Null safety

double trackPadding
final, inherited

Padding of the track.

Defaults to 0

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

Implementation

final double trackPadding;