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