onPressed property

VoidCallback? onPressed
final

A callback that is invoked when the tile is pressed.

Implementation

final VoidCallback? onPressed;