deluxe_bottom_bar 1.0.4
deluxe_bottom_bar: ^1.0.4 copied to clipboard
Deluxe Bottom Bar is a Flutter package that provides a customizable bottom navigation bar for your Flutter applications.
Deluxe Bottom Bar #
Deluxe Bottom Bar is a Flutter package that provides a customizable bottom navigation bar for your Flutter applications.
Features #
- Customizable icons and labels
- Easy to integrate
[Demo GIF]
Getting Started #
To use this package, add deluxe_bottom_bar as a dependency in your pubspec.yaml file.
dependencies:
deluxe_bottom_bar: any
Usage #
import 'package:flutter/material.dart';
import 'package:deluxe_bottom_bar/deluxe_bottom_bar.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
bottomNavigationBar: DeluxeBottomBar(
pageController: pageController,
style: const DeluxeBottomBarStyle(
backgroundColor: Colors.white,
boxShadow: [
BoxShadow(
color: Color.fromRGBO(171, 171, 171, .7),
blurRadius: 10,
offset: Offset(0, 5),
),
],
),
buttonStyle: const DeluxeBottomBarButtonStyle(
selectedButtonBackgroundColor: Color(0xff0ebe7e),
),
actionButtonStyle: const DeluxeBottomBarActionButtonStyle(
backgroundColor: Color(0xff0ebe7e),
icon: Icons.accessibility_new_rounded,
),
items: const [
DeluxeBottomBarItem(
icon: Icons.home_outlined,
tooltip: 'Home',
),
DeluxeBottomBarItem(
icon: Icons.search_outlined,
tooltip: 'Search',
),
DeluxeBottomBarItem(
icon: Icons.settings_outlined,
tooltip: 'Settings',
),
],
),
body: Center(child: Text('Hello, world!')),
),
);
}
}
Example #
you can find the example in the Example folder.
Contributing #
Contributions are welcome! If you'd like to contribute, please fork the repository and submit a pull request.
License #
This project is licensed under the MIT License - see the LICENSE file for details.