remember Insets Padding Values
@Composable()
Content copied to clipboard
Returns the provided insets insets in the form of a PaddingValues instance.
The returned instance is stable, meaning that any changes to the inset values will result in composition being notified, and these padding values being re-read.
Parameters
insets
The WindowInsets.Type to read from.
applyStart
Whether to apply the inset on the start dimension. Defaults to true.
applyTop
Whether to apply the inset on the top dimension. Defaults to true.
applyEnd
Whether to apply the inset on the end dimension. Defaults to true.
applyBottom
Whether to apply the inset on the bottom dimension. Defaults to true.
additionalStart
Value to add to the start dimension.
additionalTop
Value to add to the top dimension.
additionalEnd
Value to add to the end dimension.
additionalBottom
Value to add to the bottom dimension.