LocalSize

Property

Android
val LocalSize = staticCompositionLocalOf<DpSize> { error("No default size") }

Size of the glance view being generated.

The glance view will have at least that much space to be displayed. The exact meaning may changed depending on the surface and how it is configured.