canAnimate method
Implementation
@protected
bool canAnimate(DragUpdateDetails e) {
if (isDeactivated) return false;
final delta = e.primaryDelta! * (reverse ? -1.0 : 1.0);
return (delta > 0 && !isAtMax) || (delta < 0 && !isAtMin);
}
@protected
bool canAnimate(DragUpdateDetails e) {
if (isDeactivated) return false;
final delta = e.primaryDelta! * (reverse ? -1.0 : 1.0);
return (delta > 0 && !isAtMax) || (delta < 0 && !isAtMin);
}