onFollowPositionState method
- FollowPositionState followPositionState
Called when the follow-position state changes.
Invoked when the map enters or exits follow mode.
Parameters
followPositionState: Current follow-position state.
Implementation
@override
void onFollowPositionState(final FollowPositionState followPositionState) {
_followPositionStateCallback?.call(followPositionState);
}