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