onFollowPositionState method

  1. @override
void onFollowPositionState(
  1. 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);
}