navBarHeight property

double? navBarHeight
final

Height of the navigation bar. This value will also be the height of the top bar.

The navigation bar layer has a transparent background, and sits directly above the top bar on the z-axis.

It includes two specific widgets: the leadingNavBarWidget and the trailingNavBarWidget. The leading widget usually functions as the back button, enabling users to navigate to the previous page. The trailing widget often serves as the close button, utilized to close the modal sheet. Together, these widgets provide clear and intuitive navigational control, differentiating themselves from the top bar by focusing specifically on directional navigation within the interface.

Implementation

final double? navBarHeight;