fixed4 static method

Widget fixed4(
  1. BuildContext context,
  2. NavBarConfig navBarConfig,
  3. Color? backgroundColor
)

Implementation

static Widget fixed4(
  BuildContext context,
  NavBarConfig navBarConfig,
  Color? backgroundColor,
) {
  final theme = context.watch<TThemeManager>().state;
  return Style7BottomNavBar(
    navBarConfig: navBarConfig,
    navBarDecoration: NavBarDecoration(
      color: backgroundColor ?? theme.popover,
    ),
    itemAnimationProperties: const ItemAnimation(
      curve: Curves.easeOutQuad,
      duration: Duration(milliseconds: 400),
    ),
  );
}