FloatingNavBar method

Widget FloatingNavBar()

Implementation

Widget FloatingNavBar() {
  return Container(
    padding: const EdgeInsets.all(10),
    height: height! + 20,
    child: Material(
      elevation: 10,
      shadowColor: shadowColor,
      color: backgroundColor ?? Colors.white,
      borderRadius: borderRadius ?? BorderRadius.circular(30),
      child: Row(
        mainAxisAlignment: MainAxisAlignment.spaceAround,
        children: items.asMap().entries.map((entry) {
          return _buildNavItem(entry.value, entry.key);
        }).toList(),
      ),
    ),
  );
}