FBottomNavigationBarItemStyle.inherit constructor
FBottomNavigationBarItemStyle.inherit({
- required FColorScheme colorScheme,
- required FTypography typography,
Creates a FBottomNavigationBarItemStyle that inherits its properties from the given FColorScheme and FTypography.
Implementation
FBottomNavigationBarItemStyle.inherit({required FColorScheme colorScheme, required FTypography typography})
: iconSize = 24,
activeIconColor = colorScheme.primary,
inactiveIconColor = colorScheme.foreground.withOpacity(0.5),
activeTextStyle = typography.base.copyWith(
color: colorScheme.primary,
fontSize: 10,
),
inactiveTextStyle = typography.base.copyWith(
color: colorScheme.foreground.withOpacity(0.5),
fontSize: 10,
),
padding = const EdgeInsets.all(5);