onTap property

void Function()? onTap
final

A callback when tap this button.

Implementation

final void Function()? onTap;