floating5 static method

Widget floating5(
  1. BuildContext context,
  2. NavBarConfig navBarConfig,
  3. Color? activeColor,
  4. Color? backgroundColor,
)

Implementation

static Widget floating5(
  BuildContext context,
  NavBarConfig navBarConfig,
  Color? activeColor,
  Color? backgroundColor,
) {
  final theme = context.watch<TThemeManager>().state;
  return FloatingCircularNavbar(
    navBarConfig: navBarConfig,
    navBarDecoration: NavBarDecoration(
      color: activeColor ?? theme.primary,
    ),
    backgroundColor: backgroundColor ?? theme.popover,
  );
}