eygraber
03/13/2023, 3:08 AMScaffold with a TopAppBar is the reason that I'm supposed to add the consumeWindowInsets Modifier on the scaffold content because TopAppBar is a sibling to it, and therefore doesn't consume the inset as far as the content is concerned?Alex Vanyo
03/13/2023, 6:05 PMpaddingValues are given to the main body of the Scaffold for you to handle directly, so the insets may not be consumed until you apply the paddingValues as padding to something.eygraber
03/13/2023, 7:58 PMModifier.padding(paddingValues).consumeWindowInsets(paddingValues) and Modifier.consumeWindowInsets(paddingValues).padding(paddingValues)?Alex Vanyo
03/13/2023, 8:30 PMModifier.consumeWindowInsets(paddingValues).windowInsetsPadding(WindowInsets.safeDrawing) versus Modifier.windowInsetsPadding(WindowInsets.safeDrawing).consumeWindowInsets(paddingValues) since both modifiers are interacting with inset consumption.
And “first” should be the same between the hierarchical sense and then modifier order sense