Insets

constructor(horizontal: Dp = 0f.dp, vertical: Dp = 0f.dp)

Creates an Insets instance with start = end and top = bottom.


constructor(all: Dp = 0f.dp)

Creates an Insets instance with a common size for all four insets.


constructor(start: Dp = 0f.dp, top: Dp = 0f.dp, end: Dp = 0f.dp, bottom: Dp = 0f.dp)

Parameters

start

the start inset’s size.

top

the top inset’s size.

end

the end inset’s size.

bottom

the bottom inset’s size.