limit method

void limit(
  1. int limit
)

Resets the swipe limit.

Implementation

void limit(int limit) {
  _times = limit;
  notifyListeners();
}