Component - SharedFlow for events
This UI component demonstrates how SharedFlow is used in Android Kotlin to send and receive one-time events, such as showing a message when a button is clicked. SharedFlow allows multiple parts of the app to listen for these events without losing any.