closeIconClicks
Create a Flow of close icon click events on the Chip instance.
Note: Created flow keeps a strong reference to the Chip instance until the coroutine that launched the flow collector is cancelled.
Example of usage:
chip.closeIconClicks()
.onEach {
// handle close icon clicked
}
.launchIn(uiScope)
Content copied to clipboard