OnTileClicked typedef

OnTileClicked = Tile? Function(Tile tile)

Tile clicked callback. If you return a different Tile, it will be used to refresh the appearance of your tile.

Implementation

typedef OnTileClicked = Tile? Function(Tile tile);