keepViewportWithinData property
Keeps the scale and translate sane if true (default).
Setting this to false disables some pan/zoom protections that prevent you from going beyond the data extent.
Implementation
@override
bool get keepViewportWithinData => _viewportSettings.keepViewportWithinData;