onTap property

VoidCallback onTap
final

Called when the item is tapped.

@required

Implementation

final VoidCallback onTap;