defaultSettleWindow constant

Duration const defaultSettleWindow

How long a camera update is assumed to still be running when no settle ends it.

A camera update that changes nothing — moving to where the camera already is — produces no camera events at all, so nothing would ever call onCameraSettled and the next gesture would be reported as programmatic. This bounds that to a few seconds. It is a safety valve, not the normal path: a move that does move the camera settles long before this.

Implementation

static const Duration defaultSettleWindow = Duration(seconds: 4);