isFastClick static method

bool isFastClick()

Implementation

static bool isFastClick() {
  var time = System.currentTimeMillis;
  var diff = time - _lastClickTime;
  if (diff > 0 && diff < _intervalTime) {
    return true;
  }
  _lastClickTime = time;
  return false;
}