onTap property

VoidCallback onTap
final

Called on single tap — typically used to toggle control visibility.

Implementation

final VoidCallback onTap;