Skip to content

NavigationBarTheme

Customizes the appearance of NavigationBar controls across the app.

属性 ​

名称类型默认值说明
bgcolorOptional[ColorValue]NoneOverrides the default value for bgcolor.
shadow_colorOptional[ColorValue]NoneOverrides the default value for shadow_color.
indicator_colorOptional[ColorValue]NoneOverrides the default value for indicator_color.
overlay_colorOptional[ControlStateValue[ColorValue]]NoneOverrides the default value for overlay_color.
elevationOptional[Number]NoneOverrides the default value for elevation.
heightOptional[Number]NoneOverrides the default value for NavigationBar height.
label_text_styleOptional[ControlStateValue[TextStyle]]NoneThe style to merge with the default text style for NavigationBarDestination labels.
indicator_shapeOptional[OutlinedBorder]NoneOverrides the default value for indicator_shape.
label_behaviorOptional[NavigationBarLabelBehavior]NoneOverrides the default value for label_behavior.
label_paddingOptional[PaddingValue]NoneOverrides the default value for label_padding.

关注我,学习大模型、大数据、Python等热门技术。