dimensionsOf

Creates a MutableDimensions instance with a common value for each coordinate.


fun dimensionsOf(horizontal: Dp = 0.dp, vertical: Dp = 0.dp): MutableDimensions
fun dimensionsOf(start: Dp = 0.dp, top: Dp = 0.dp, end: Dp = 0.dp, bottom: Dp = 0.dp): MutableDimensions

Creates a MutableDimensions instance using the provided measurements.