Interface

GridTrackSpec

Marker interface to enable vararg usage with GridTrackSize.

Source set: Common
public sealed interface GridTrackSpec

Marker interface to enable vararg usage with GridTrackSize.

This allows the configuration DSL to accept GridTrackSize items in a vararg (e.g., columns(Fixed(10.dp), Flex(1.fr))), bypassing the Kotlin limitation on class varargs.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: