Notification
fun Notification(modifier: Modifier = Modifier, style: NotificationStyle = LocalNotificationStyle.current, hasClose: Boolean = false, closeIcon: Painter? = null, onClose: () -> Unit? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, content: @Composable BoxScope.() -> Unit)
Компонент Notification
Parameters
modifier
модификатор
style
стиль компонента
has Close
включение иконки закрытия closeIcon
close Icon
иконка закрытия
on Close
колбэк клика на иконку закрытия closeIcon
interaction Source
источник взаимодействий
content
контент
fun Notification(closeContentDescription: String, modifier: Modifier = Modifier, style: NotificationStyle = LocalNotificationStyle.current, hasClose: Boolean = false, closeIcon: Painter? = null, onClose: () -> Unit? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, content: @Composable BoxScope.() -> Unit)
Компонент Notification