spacing property
Implementation
double get spacing => _spacing;Implementation
set spacing(double value) {
  assert(
    value >= 0 && value <= 1,
    'The spacing of the series should be between 0 and 1',
  );
  if (value != _spacing) {
    _spacing = value;
  }
}