floating4 static method

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

Implementation

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