onWillPan property

WillPanCallback? onWillPan
final

Called whenever panning is happening.

If it returns false, panning will not happen.

MapPanDetails contains following properties.

Implementation

final WillPanCallback? onWillPan;