onTap property

VoidCallback? onTap
final

A function called whenever the user taps on this tile.

Used to set the parent's state and update selected.

Implementation

final VoidCallback? onTap;