MainTopAppBar
A top app bar for the main screen of the application.
It includes the application title, a navigation icon, and route-specific actions. The "Support Us" overflow item is rendered only when the host supplies onSupportClick, so this module stays free of any dependency on a support feature. Hosts can disable that action entirely and provide their destination's own actions instead. The navigation icon's action is configurable.
Parameters
is the optional title that can be provided by the host app
Whether the title is centered in the bar. Off by default, which keeps the Material small top app bar; on, the bar becomes a centre-aligned one instead.
The ImageVector to be displayed as the navigation icon.
A lambda to be executed when the navigation icon is clicked.
Host callback that opens Support. The overflow action is hidden when it is null, so hosts without a support surface get no dead menu entry.
Whether to render the Support overflow action when a callback exists.
Additional destination-owned app bar actions.
A TopAppBarScrollBehavior to be applied to the top app bar, which defines its behavior when content is scrolled.