Returns the current window insets and re-renders the component if device orientation changes.
Optional
Bit mask of InsetTypes to query the insets for. By default, display cutout, navigation and status bars are included.
Returns the current window insets and re-renders the component if device orientation changes.