onTap property

VoidCallback? onTap
final

Called when the user taps this part of the material.

Implementation

final VoidCallback? onTap;