onTap property

VoidCallback? onTap
final

Called when the item is tapped, regardless of selected or not

Implementation

final VoidCallback? onTap;