isEnabled property
bool
get
isEnabled
Whether autopan is effectively enabled.
Returns false if edge padding or pan amount is zero or negative.
Implementation
bool get isEnabled => edgePadding > 0 && panAmount > 0;