WillPanCallback typedef Null safety

WillPanCallback = bool Function(MapPanDetails)

Signature for a MapLayer.onWillPan callback which returns true or false based on which current panning completes.

Implementation

typedef WillPanCallback = bool Function(MapPanDetails);