AppMovieInfo

fun AppMovieInfo(title: String, year: String, duration: String, contentRating: String, genre: String, type: String, isPremium: Boolean, modifier: Modifier = Modifier, layoutType: AppMovieInfoType = AppMovieInfoType.HORIZONTAL)

A specialized component to display movie metadata and textual information. It automatically adjusts the density and arrangement of information based on the layoutType provided.

Parameters

title

The movie title.

year

The release year.

duration

The duration string (e.g., "148 min").

contentRating

Parental guidance rating (e.g., "PG-13").

genre

The genre of the content.

type

The type of content (e.g., "Movie").

isPremium

If true, displays a "Premium" tag; otherwise, a "Free" tag (only in horizontal layout).

modifier

Modifier to be applied to the layout.

layoutType

The layout variation to use.