onTapDown method

void onTapDown()

Implementation

void onTapDown() {
  if (_isDebounceTime()) return;

  if (state.enable && state.state is QdsBoxButtonActive) {
    emit(state.copyWith(
      state: QdsBoxButtonState.pressed(),
    ));
  }
}