onTap property

VoidCallback? onTap
final

Called when the chip is tapped.

If both onTap and onDeleted are null, the chip will be non-interactive.

Implementation

final VoidCallback? onTap;