Tile clicked callback. If you return a different Tile, it will be used to refresh the appearance of your tile.
typedef OnTileClicked = Tile? Function(Tile tile);