BasePreferenceCustom
this is the default root composable that allows you to create a custom preference with your own content. It takes care of the enabled/visibiltiy state of the preference (depending on the dependencies as well as on the hierarchical position)
In most cases this should be the root container for any custom preference.
Parameters
the Modifier for this composable
the Dependency that from which the enabled state is derived from
the Dependency that from which the visibility state is derived from
the optional click listener for this item
the optional long click listener for this item
the PreferenceItemStyle of this this item - use PreferenceStyleDefaults.item and all the predefined styles in PreferenceStyleDefaults to provide your own style
the PreferenceItemSetup of this this item which allows you to influence some of the behaviour and style specifically for a special item type
additional tags to title and sub title for the filter functionality
the content of this composable