onButtonTap property

void Function(String text) onButtonTap
final

Callback when an item is pressed

Implementation

final void Function(String text) onButtonTap;