autoPan property

AutoPanConfig? autoPan
final

Configuration for autopan behavior during drag operations.

When provided (non-null), autopan is enabled. The viewport will automatically pan when the pointer approaches the edges during a drag.

Requires onAutoPan and getViewportBounds to also be provided.

Implementation

final AutoPanConfig? autoPan;