我已将我的 flutter_map 包更新为最新更新,并收到以下警告:
void _increaseZoom() {
final zoom = widget.mapState.zoom + 1;
widget.mapState.move(widget.mapState.center, zoom); The parameter 'source' is required.
}
void _decreaseZoom() {
final zoom = widget.mapState.zoom - 1;
widget.mapState.move(widget.mapState.center, zoom); The parameter 'source' is required.
}