onTap property

Function? onTap
final

onTap is a Function that defines the action to be performed when the list item is tapped.

Implementation

final Function? onTap;