Settings Icon Button
fun SettingsIconButton(icon: Int, selected: Boolean, theme: SettingsThemeConfiguration, enabled: Boolean = true, click: () -> Unit)
Custom IconButton component to display selected / unselected options of the settings.
Parameters
icon
: Int drawable resource id to set the icon.
selected
: Boolean to enable or disable the icon.
theme
: SettingsThemeConfiguration theme configuration
enabled
: Boolean to enable or disable the icon.
click
: () -> Unit function to handle the click event.