ScreenLayoutInfo

data class ScreenLayoutInfo(val isLandscape: Boolean, val sizeClass: SizeClass, val horizontalMargin: Dp, val isWebLayout: Boolean = false)(source)

Information a ScreenScaffold exposes to its slots.

Constructors

Link copied to clipboard
constructor(isLandscape: Boolean, sizeClass: SizeClass, horizontalMargin: Dp, isWebLayout: Boolean = false)

Properties

Link copied to clipboard

Side margin the scaffold applied.

Link copied to clipboard

Whether the scaffold is wider than tall.

Link copied to clipboard

Whether the scaffold uses the single-column web layout.

Link copied to clipboard

Size class from the scaffold's shorter side.