onTap property

VoidCallback? onTap
final

Callback function when the tile is tapped. Only triggered if there are no children to expand.

Implementation

final VoidCallback? onTap;