FBottomNavigationBarStyle.inherit constructor
FBottomNavigationBarStyle.inherit({
- required FColorScheme colorScheme,
- required FTypography typography,
- required FStyle style,
Creates a FBottomNavigationBarStyle that inherits its properties from colorScheme
and typography
.
Implementation
FBottomNavigationBarStyle.inherit({
required FColorScheme colorScheme,
required FTypography typography,
required FStyle style,
}) : this(
decoration: BoxDecoration(
border: Border(top: BorderSide(color: colorScheme.border)),
color: colorScheme.background,
),
focusedOutlineStyle: style.focusedOutlineStyle,
itemStyle: FBottomNavigationBarItemStyle.inherit(
colorScheme: colorScheme,
typography: typography,
),
);