easy_bottom_bar 0.0.1 copy "easy_bottom_bar: ^0.0.1" to clipboard
easy_bottom_bar: ^0.0.1 copied to clipboard

outdated

A Flutter package to make a bottomBar easily in few lines by avoiding more lines of code.

easy_bottom_bar #

A Flutter Package to make a Pre-Designed Bottom-Navigation-Bar in few lines.

Getting Started #

To use this package, add easy_bottom_bar as a dependency in your package

Example #

import 'package:flutter/material.dart';
import 'package:easy_bottom_bar/easy_bottom_bar.dart';

// use EasyBottomBar Widget in Home of your material App And use Scaffold in those importes classe(s)
void main() {
  runApp(MaterialApp(
    home: EasyBottomBar(tabs: [
      FirstScreen(), // Classes where you want to go
      SecondScreen(),
    ], bottomItems: [
      BottomNavigationBarItem(icon: Icon(Icons.home), label: 'FirstScreen'), //You can customize by own if
      BottomNavigationBarItem(icon: Icon(Icons.home), label: 'SecondScreen'),// you want
    ]),
  ));
}

// Extra Classes that you want to show.

class FirstScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container();
  }
}

class SecondScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container();
  }
}

In Your MaterialApp use EasyBottomBar to show a Bottom Navigation Bar easily In tabs write Widgets/classes which you want to add as HomeScreen

CurrentIndex #

By Default currentIndex is set to 0,but if you want to set another tab of EasyBottomBar to default you can change currentIndex to 1,2,3 whatever you want.

Thanks for choosing my package

4
likes
0
pub points
8%
popularity

Publisher

unverified uploader

A Flutter package to make a bottomBar easily in few lines by avoiding more lines of code.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on easy_bottom_bar