onTap property

(void Function()?) onTap
final

Called when the user taps this list tile.

Inoperative if enabled is false.

Implementation

final void Function()? onTap;