🚀 floating_bottom_nav_bar
A highly customizable floating bottom navigation bar for Flutter, with smooth animations, modern UI styling, SVG icon support, and badge indicators. Perfect for building sleek mobile apps with an intuitive bottom navigation experience.
🎬 Demo
✨ Features
- Fully customizable floating navigation bar
- Smooth animated transitions
- Support for SVG icons
- Badge indicators for notifications
- Modern Material Design style
- Easy integration with Flutter apps
âš¡ Getting Started
Add the package to your pubspec.yaml:
dependencies:
floating_bottom_nav_bar: ^1.0.0
Then run:
flutter pub get
🛠Usage Example
import 'package:floating_bottom_nav_bar/floating_bottom_nav_bar.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
class MyHomePage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
bottomNavigationBar: FloatingBottomNavBar(
items: [
FloatingNavBarItem(
icon: SvgPicture.asset('assets/icons/icon1.svg'),
label: 'Home',
),
FloatingNavBarItem(
icon: SvgPicture.asset('assets/icons/icon2.svg'),
label: 'Search',
),
FloatingNavBarItem(
icon: SvgPicture.asset('assets/icons/icon3.svg'),
label: 'Favorites',
badgeCount: 3,
),
],
selectedIndex: 0,
onTap: (index) {
// Handle navigation tap
},
),
body: Center(child: Text('Hello Flutter!')),
);
}
}
📦 Installation
Add floating_bottom_nav_bar to your pubspec.yaml
Run flutter pub get
Import in your Dart file:
import 'package:floating_bottom_nav_bar/floating_bottom_nav_bar.dart'; 🔗 Resources Flutter Documentation
SVG support in Flutter
Material Design Guidelines
📄 License MIT License. See LICENSE for details.
Libraries
- app/app
- app/bindings/base_binding
- app/controllers/base_controller
- app/modules/base/controllers/base_view_controller
- app/modules/base/views/base_view
- app/modules/base/views/tab_indicator
- app/modules/browse/controllers/browse_controller
- app/modules/browse/views/browse_view
- app/modules/favorite/controllers/favorite_controller
- app/modules/favorite/views/favorite_view
- app/modules/home/controllers/home_controller
- app/modules/home/views/home_view
- app/modules/maps/controllers/maps_controller
- app/modules/maps/views/maps_view
- app/modules/more/controllers/more_controller
- app/modules/more/views/more_view
- app/routes/app_pages
- app/themes/app_theme
- app/themes/colors
- app/utils/dummy_helper
- app/widgets/custom_tab_icon
- core/constants/assets
- core/values/strings
- main