PositionListener<T> typedef
PositionListener<T> =
void Function(PositionListenerInfo<T> position)
Listener for the current position and ToggleMode of the indicator.
Implementation
typedef PositionListener<T> = void Function(PositionListenerInfo<T> position);