FBottomNavigationBarStyle.inherit constructor

FBottomNavigationBarStyle.inherit({
  1. required FColorScheme colorScheme,
  2. required FTypography typography,
  3. 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,
        ),
      );