Last updated:
0 purchases
aqua nav bar
Aqua Nav Bar #
The Aqua Nav Bar Flutter package provides a beautiful and customizable navigation bar for your Flutter applications. It offers a sleek and modern design with smooth animations, making it perfect for enhancing the user experience in your app.
Screenshots #
Features #
• Beautiful and modern design.
• Smooth and fluid animations.
• Customizable colors, icons, and labels.
• Support for both iOS and Android platforms.
• Easy integration with existing Flutter projects.
Installation #
To use the Aqua_Nav_Bar package, follow these steps:
Add the package to your pubspec.yaml file:
dependencies:
aqua_nav_bar: <latest version>
copied to clipboard
Run the following command to fetch the package:
flutter pub get
copied to clipboard
Import the package in your Dart code:
import 'package:aqua_nav_bar/aqua_nav_bar.dart';
copied to clipboard
Usage #
To use the Aqua_Nav_Bar in your Flutter app, see example:
class HomePage extends StatefulWidget {
const HomePage({Key? key}) : super(key: key);
@override
State<HomePage> createState() => _HomePageState();
}
class _HomePageState extends State<HomePage> {
final _navPages = [
const ItemOne(),
const ItemTwo(),
const ItemThree()
];
int currentIndex = 0;
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.white,
bottomNavigationBar: AquaNavBar(
currentIndex: currentIndex,
textSize: 15.0,
activeColor: Colors.grey,
onItemSelected: (index){
setState(() {
currentIndex = index;
});
},
barItems: [
BarItem(
title: "Home",
icon: const Icon(
Icons.home,
size: 30.0,
)),
BarItem(
title: "Settings",
icon: const Icon(
Icons.settings,
size: 30.0,
)),
BarItem(
title: "Profile",
icon: const Icon(
Icons.person,
size: 30.0,
))
], ),
body: SizedBox(
height: MediaQuery.of(context).size.height,
width: MediaQuery.of(context).size.width,
child: _navPages[currentIndex],
),
);
}
}
copied to clipboard
Contributions and Support #
Contributions to the Aqua_Nav_Bar Flutter package are welcomed and encouraged! If you encounter any issues or have suggestions for improvement, please open an issue on the package's GitHub repository.
License #
This project is licensed under the MIT License.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.