handleTap method

  1. @protected
void handleTap(
  1. BuildContext context
)

Implementation

@protected
void handleTap(BuildContext context) {
  if (onTap != null) {
    onTap!();
  } else if (context.canPop()) {
    context.pop();
  }
}