ZoomOption constructor

const ZoomOption({
  1. double stepZoom = 1,
  2. double initZoom = 2,
  3. double minZoomLevel = 2,
  4. double maxZoomLevel = 19,
})

Implementation

const ZoomOption({
  this.stepZoom = 1,
  this.initZoom = 2,
  this.minZoomLevel = 2,
  this.maxZoomLevel = 19,
})  : assert(maxZoomLevel <= 19),
      assert(minZoomLevel >= 2),
      assert(initZoom >= minZoomLevel || initZoom <= maxZoomLevel);