跳到主要内容

BottomAppBarTheme 底部应用栏主题

对整个应用程序中的 底部应用栏 的外观进行自定义。

BottomAppBarTheme 类具有以下属性:

color(颜色)

在所有子代 BottomAppBar 控件中覆盖 BottomAppBar.color 的默认值。

elevation(高度)

在所有子代 BottomAppBar 控件中覆盖 BottomAppBar.elevation 的默认值。

height(高度)

在所有子代 BottomAppBar 控件中覆盖 BottomAppBar.height 的默认值。

padding(内边距)

在所有子代 BottomAppBar 控件中覆盖 BottomAppBar.padding 的默认值。

shadow_color(阴影颜色)

在所有子代 BottomAppBar 控件中覆盖 BottomAppBar.shadow_color 的默认值。

shape(形状)

在所有子代 BottomAppBar 控件中覆盖 BottomAppBar.shape 的默认值。

surface_tint_color(表面色调颜色)

在所有子代 BottomAppBar 控件中覆盖 BottomAppBar.surface_tint_color 的默认值。