pointerBuilder property
Returns a widget for the given value.
The pointer is used to indicate the exact color of the hovering shape or bubble on the segment.
The pointerBuilder will be called when the user interacts with the shapes or bubbles i.e., while tapping in touch devices and hovering in the mouse enabled devices.
Implementation
final MapLegendPointerBuilder? pointerBuilder;