onTap property

void Function()? onTap
final

Called when the user taps the child

Implementation

final void Function()? onTap;