onSelectionChanged property Null safety

ValueChanged<TreemapTile>? onSelectionChanged
final

Called when the user selected the tile.

  • tile - contains information about the treemap tile.

To do any specific functionalities like showing pop-up or navigate to a different page, use the onSelectionChanged callback.

See also:

  • TreemapTile, contains information about the treemap tile.

Implementation

final ValueChanged<TreemapTile>? onSelectionChanged;