LayerScaffold States
LayerScaffold supports the following 3 states:
Concealed
- The back layer is hidden (only thebackLayerPeekHeight
part is still visible)Peeking
- The front layer is only showing it'sfrontLayerPeekHeight
or calculated height of thefrontLayerHeader
composable and the back layer is fully visible, it will accommodate for the bottom bar height automaticallyRevealed
- Both the back and front layers are visible (theheaderHeight
part is visible on the back layer)
A state can also be changed programmatically: