DialogFrequency
fun DialogFrequency(state: DialogState, frequency: MutableState<Frequency>, texts: DialogFrequency.Texts = DialogFrequencyDefaults.texts(), supportedTypes: List<Frequency.Type> = Frequency.Type.entries, firstDayOffset: DayOfWeek = DayOfWeek.MONDAY, title: @Composable () -> Unit? = null, icon: @Composable () -> Unit? = null, style: ComposeDialogStyle = DialogDefaults.defaultDialogStyle(), buttons: DialogButtons = DialogDefaults.buttons(), options: DialogOptions = DialogDefaults.options(), onEvent: (event: DialogEvent) -> Unit = {})
Shows a frequency dialog
Basic Parameters: all params not described here are derived from Dialog, check it out for more details
Parameters
frequency
the frequency state of the dialog
texts
the texts (DialogFrequency.Texts) that are used inside this dialog - use DialogFrequencyDefaults.texts to provide your own data
supportedTypes
the supported frequency types - default is all types
firstDayOffset
the first day of the week - default is DayOfWeek.MONDAY