Navigation Bar
The Navigation Bar widget provides a persistent navigation bar at the bottom of the screen, allowing users to switch between different pages or views.
Properties
backgroundColor
The background color of the navigation bar.
elevation
The z-axis elevation of the navigation bar.
height
The height of the navigation bar.
surfaceTintColor
The surface tint color of the navigation bar.
indicatorColor
The color of the indicator that highlights the selected item.
indicatorShape
The shape of the indicator (circle
, stadium
, etc.).
overlayColor
The color of the overlay that appears when an item is tapped.
showLabels
If true
, labels will be shown for the navigation items.
animationDuration
The duration of the animation when switching between items.
borderRadius
The corner radius of the navigation bar.
shadow
A list of shadow effects to apply to the navigation bar.
Last updated