App Dialog
fun AppDialog(onDismissRequest: () -> Unit, confirmButtonText: String, onConfirmClick: () -> Unit, modifier: Modifier = Modifier, dismissButtonText: String? = null, onDismissClick: () -> Unit? = null, title: String? = null, description: String? = null, imageSource: AppImageSource? = null)
A custom alert dialog component following the Material 3 specifications and project styling.
Parameters
on Dismiss Request
Callback when the dialog is dismissed.
confirm Button Text
The text for the confirmation button.
on Confirm Click
Callback for the confirmation button.
modifier
The Modifier to be applied to the dialog.
dismiss Button Text
Optional text for the dismiss button.
on Dismiss Click
Optional callback for the dismiss button.
title
Optional title for the dialog.
description
Optional description for the dialog.
image Source
Optional AppImageSource to be displayed at the top.