getDefaultLabelFunction function

String getDefaultLabelFunction(
  1. int spotIndex,
  2. ScatterSpot spot
)

It gives you the default label of the spot.

Implementation

String getDefaultLabelFunction(
  int spotIndex,
  ScatterSpot spot,
) {
  return '${spot.radius}';
}