action property

void Function()? action
final

Invoked when the item is tapped.

Implementation

final void Function()? action;