AppWatchProviders

fun AppWatchProviders(providers: List<WatchProvider>, onProviderClick: (WatchProvider) -> Unit, modifier: Modifier = Modifier, isExpanded: Boolean = false, onExpandClick: () -> Unit = {})

A component that displays a list of watch providers where a movie can be streamed. It features a collapsible design that shows a primary provider and a summary of others when collapsed, and a full list when expanded.

Parameters

providers

The list of WatchProvider objects to display.

onProviderClick

Callback invoked when a provider is clicked.

modifier

The Modifier to be applied to this component.

isExpanded

Whether the component is currently expanded to show all providers.

onExpandClick

Callback invoked when the expand/collapse header or summary is clicked.