Fancy Custom NavBar
A beautiful, animated, and customizable bottom navigation bar with SVG support and concave dividers.
✨ Features
- Easy-to-use widgets
- Customizable concave/convex shapes
- Lightweight and fast
- Interactive animations
- Supports Flutter Web, iOS, and Android
- SVG and IconData support
- Responsive design
📦 Installation
Add this to your pubspec.yaml:
dependencies:
fancy_custom_navbar: ^0.0.3v
Run:
flutter pub get
🖼️ Use Case Preview
Below are example images showing how this package can be used:
Example 1
Example 2
Example 3
⚠️ Limitations
- Maximum 5 items are supported across all devices.
- Long labels are not allowed (short labels recommended for best UI).
- **Not applicable for tablets or large screens.
📐 Customization
You can customize:
selectedColorunselectedColorinnerContainerColor&outerContainerColorNavBarItem
Example:
BottomNavigation(
currentIndex: selectedScreen,
onTap: (newIndex) {
setState(() {
selectedScreen = newIndex;
});
},
items: const [
NavBarItem(label: "Home", icon: Icons.home),
NavBarItem(label: "Love", icon: Icons.favorite),
NavBarItem(label: "Profile", icon: Icons.person),
NavBarItem(label: "Setting", icon: Icons.settings),
],
selectedColor: Colors.red,
unselectedColor: Colors.yellow,
innerContainerColor: Colors.cyanAccent,
outerContainerColor: Colors.cyan,
)
📂 Folder Structure
fancy_custom_navbar/
│
├── lib/
│ ├── fancy_custom_navbar.dart
│ └── src/
│ ├── bottom_navigation.dart
│ ├── concave_clipper.dart
│ └── nav_bar_item.dart
├── assets/
│ ├── icons/
│ └── imgs/
└── README.md
🤝 Contributing
Pull requests are welcome! For major changes, please open an issue first to discuss what you'd like to change.
📄 License
This project is licensed under the MIT License.
Made with ❤️ using Flutter
Copyright (c) 2025 CHINMOY BHAKTA