WindowContainerSize

The size of the WindowContainer. support both Dp and LengthUnit.

provider two constructors:

  1. WindowContainerSize with Dp as the unit

  2. WindowContainerSize with LengthUnit as the unit, and Float as the value

Constructors

Link copied to clipboard
constructor(width: Float, height: Float, depth: Float, unit: LengthUnit?)
constructor(width: Dp, height: Dp, depth: Dp = Dp.Unspecified)