How to use different Preference API patterns
masterEach built-in preference type offers four ways to be used, depending on your state management needs:
LazyListScope.*Preference(Key-based): The easiest way forLazyColumn. You provide akeyanddefaultValue, and the library handles the rest.LazyListScope.*Preference(State-based): An overload forLazyColumnthat accepts an explicitvalueandonValueChangecallback.*PreferenceComposable (MutableState): A standalone composable that takes aMutableState, useful for integrating with existing state objects.*PreferenceComposable (Value/Callback): A standalone composable that takesvalueandonValueChange, useful for stateless or non-preference scenarios.