listener property

(void Function(BeamState, BeamLocation<BeamState>)?) listener
final

The listener for this, that will be called on every navigation event and will recieve the state and currentBeamLocation.

Implementation

final void Function(BeamState, BeamLocation)? listener;