onTap method

void onTap(
  1. BuildContext context
)

Implementation

void onTap(BuildContext context) {
  onPress!();
}