onWillZoom property Null safety

WillZoomCallback? onWillZoom
final

Called whenever zooming is happening.

If it returns false, zooming will not happen.

MapZoomDetails contains following properties.

Implementation

final WillZoomCallback? onWillZoom;