onTap property

void Function(Object id) onTap
final

Callback when the option is tapped

Implementation

final void Function(Object id) onTap;