DialogFrequency
fun DialogFrequency(state: BaseDialogState, frequency: MutableState<Frequency>, texts: FrequencyPickerTexts = FrequencyPickerDefaults.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 = {}, intervalInputType: FrequencyIntervalInputType = FrequencyIntervalInputType.Input, timeSetup: TimePickerSetup = TimePickerDefaults.setup())
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 - use com.michaelflisar.composedialogs.dialogs.frequency.classes.rememberFrequency to create a state for this parameter
texts
the texts (FrequencyPickerTexts) that are used inside this dialog - use FrequencyPickerDefaults.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
intervalInputType
how the interval is entered
timeSetup
the setup used by the embedded time picker