onClose property
final
A callback to call when the pill's close button is pressed.
If this argument is null, the close button will be hidden.
Implementation
final VoidCallback? onClose;
A callback to call when the pill's close button is pressed.
If this argument is null, the close button will be hidden.
final VoidCallback? onClose;