UiConfiguration
@Serializable
Constructors
Link copied to clipboard
constructor(darkMode: Boolean = false, safeAreaInsets: Margin = Margin.Zero, viewportSize: Size? = null, density: Double = 1.0, layoutDirection: LayoutDirection = LayoutDirection.Ltr)
Properties
Link copied to clipboard
The device's layout direction. This defines whether Start
alignment means left (as in LayoutDirection.Ltr) or right (as in LayoutDirection.Rtl), and conversely whether End
alignment means right or left.
Link copied to clipboard
A set of distances from the edges of the display where system UI and other elements will be drawn.
Link copied to clipboard
The size of the viewport into which the composition is rendering. This could be as lage as the entire screen or as small as an individual view within a larger native screen.