BasePreferenceContainer
this is the root composable that MUST be used by all preferences!
In combination with com.michaelflisar.composepreferences.core.PreferenceScreen it takes care of the inner hierarchical data and additionally it handles the enabled/visibiltiy state of the preference (depending on the dependencies as well as on the hierarchical position) as well as the click and long click
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
an internal flag to decide if this item holds sub items (and what type of sub items) or not (needed for the hierarchical data management)
the PreferenceItemStyle of this this item - use PreferenceStyleDefaults.item and all the predefined styles in PreferenceStyleDefaults to provide your own style
the tags for filtering - those MUST contain title and subtitles as well here!
the content of this composable