bottomNavigationBarLabelTextStyle property

TextStyle? bottomNavigationBarLabelTextStyle
final

Optional text style for the BottomNavigationBar labels.

If useFlutterDefaults is false, the text style FlexColorScheme.m3TextTheme.bodyMedium will be used as base style for the text style.

If useFlutterDefaults is true, null will be passed to FlexSubThemes.bottomNavigationBar and along to theme creation, if all labeling modifying properties (size and scheme color) are also null, it will then be passed along as null, allowing it to remain undefined and widget default behavior sets the default. If label size or scheme is defined, a default TextStyle() will be created, if bottomNavigationBarLabelTextStyle is undefined, that gets th size and color applied.

The size and colors defined in any of the text size and color properties are applied as overrides on the text style.

Implementation

final TextStyle? bottomNavigationBarLabelTextStyle;