Skip to main content

C2CBottomTabsThemeData

PropertyDescriptionType
backgroundColorThe color of the bottom navigation bar itself.Color?
selectedItemColorThe color of the selected tab's icon and label.Color?
unselectedItemColorThe color of the unselected tabs' icons and labels.Color?
selectedIconColorThe color of the icon in the currently selected tab.Color?
unselectedIconColorThe color of the icon in the currently unselected tabs.Color?
iconSizeThe size of all the tab icons.double?
elevationThe z-coordinate of the bottom navigation bar. If not provided, it defaults to 8.0.double?
selectedLabelStyleThe text style of the labels for selected tabs.TextStyle?
unselectedLabelStyleThe text style of the labels for unselected tabs.TextStyle?
showUnselectedLabelsWhether labels are shown for unselected tabs.bool?
showSelectedLabelsWhether labels are shown for the selected tab.bool?
badgeBackgroundColorThe background color for all badges.Color?
badgeTextStyleThe text style for badge.TextStyle?
badgeBorderSideThe border side for badge.BorderSide?
isShowIndicatorWhether to show an indicator above the selected tab.bool?
indicatorWidthThe width of the indicator.double?
indicatorHeightThe height of the indicator.double?
indicatorColorThe color of the indicator.Color?
indicatorDurationThe duration for the indicator animation.Duration?
indicatorBorderRadiusThe border radius of the indicator.BorderRadius?
typeDefines the layout and behavior of the bottom navigation bar. It defaults to BottomNavigationBarType.fixed.BottomNavigationBarType?
landscapeLayoutRefines the layout of a BottomNavigationBar when the enclosing MediaQueryData.orientation is Orientation.landscapeBottomNavigationBarLandscapeLayout?