decimalPlaces property Null safety

int decimalPlaces
final

Rounding decimal places of the selection zooming tooltip or trackball tooltip label.

Defaults to 3.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          primaryXAxis: NumericAxis(interactiveTooltip: InteractiveTooltip(decimalPlaces:4)),
       ));
}

Implementation

final int decimalPlaces;