Examer Navigation Scaffold
A scaffold that manages the topAppbar and NavigationDrawer.
Parameters
the currently authenticated user. The name and email of the user will be displayed in the header of the navigation drawer.
the painter to use for drawing the profile picture in the header. A shimmer animation will be automatically added when the value of the 'state' member variable of the image painter is ImagePainter.State.Loading.
the Modifier to be applied to the composable.
state of this scaffold widget. It contains the state of the screen, e.g. variables to provide manual control over the drawer behavior, sizes of components, etc.
callback that will be executed when the navigation icon is clicked.
the lambda that will be executed in-order to resolve whether an item in the navigation drawer is selected.
a list of NavigationDrawerDestinations that are to be added to the navigation drawer.
the callback that will be executed when the sign out button located at the bottom of the navigation drawer is clicked.
content of the current screen. The lambda receives an implementation of PaddingValuesthat should be applied to the content root via Modifier.padding to properly offset top and bottom bars. If you're using VerticalScroller,apply this modifier to the child of the scroller, and not on the scroller itself.