MapState constructor
MapState(
- MapOptions options,
- ValueChanged<
double> onRotationChanged, - StreamSink<
MapEvent> _mapEventSink
Implementation
MapState(this.options, this.onRotationChanged, this._mapEventSink)
: _rotation = options.rotation,
_rotationRad = degToRadian(options.rotation),
_zoom = options.zoom,
_onMoveSink = StreamController.broadcast();