handleOnPress method

void handleOnPress()
inherited

Implementation

void handleOnPress() {
  if (!mounted) return;
  _handlePressUpdate(true);
  widget.onPress?.call();
  if (widget.enableFeedback) Feedback.forTap(context);
}