onTap property

(void Function(T?)?) onTap
final

The function to call whenever the user taps on this tile.

data is passed as an argument.

Implementation

final void Function(T?)? onTap;