snapToNorthThreshold property
Degrees above or below zero, within which the MapView's orientation will be set to exactly 0. Must be between 0 and 180 (inclusive).
Implementation
double get snapToNorthThreshold => _snapToNorthThreshold;
Implementation
set snapToNorthThreshold(double value) {
if (value < 0.0 || value > 180.0) {
throw ArgumentError.value(
value, 'snapToNorthThreshold', 'Must be between 0.0 and 180.0');
}
if (value == _snapToNorthThreshold) return;
_snapToNorthThreshold = value;
notifyListeners();
}