onTap property

dynamic Function(String id)? onTap
final

A callback function that is called when the widget is tapped.

The callback receives the id of the widget.

Implementation

final Function(String id)? onTap;