MutableWindowInsets
Class
Common
@ExperimentalLayoutApi
class MutableWindowInsets(initialInsets: WindowInsets = WindowInsets(0, 0, 0, 0)) : WindowInsets
A WindowInsets
whose values can change without changing the instance. This is useful to avoid
recomposition when WindowInsets
can change.
Note: This API as experimental since it doesn't enforce the right consumption patterns.
Properties
Common
var insets
The WindowInsets
that are used for left
, top
, right
, and
bottom
values.