FBottomNavigationBarStyle.inherit constructor

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