tx_navibar 0.1.2

Flutter Android iOS web

A interesting bottom navi bar with flutter , it can help you make a nice animation bottom bar easily , hope you will like it.

tx_navibar #

A interesting bottom navibar. example.gif

Run the example #

You can run this example like this ...

cd example
flutter create .
flutter run

How To Use #

Import the library in your pubspec.yaml as this.

tx_navibar: 0.1.1

It is very simple , you can use this package like ... .

_tabChange(int index, bool isChange) {
    print("index:$index--isChange:$isChange");
    if (isChange) {
      _controller.jumpToPage(index);
      _currentIndex = index;
      print("_currentIndex:$_currentIndex");
      setState(() {});
    }
  }
var bottomNaviBar = TXBottomNaviBar(
        tabChange: _tabChange,
        items: [
          BottomNaviItem(
              title: "Home",
              icon: "assets/home.png",
              backgroudColor: kHomeMainColor),
          BottomNaviItem(
              title: "Likes",
              icon: "assets/like.png",
              backgroudColor: kLikesMainColor),
          BottomNaviItem(
              title: "Search",
              icon: "assets/search.png",
              backgroudColor: kSearchMainColor),
          BottomNaviItem(
              title: "Profile",
              icon: "assets/person.png",
              backgroudColor: kProfileMainColor),
        ],
      );

Continue......

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

1
likes
90
pub points
10%
popularity

A interesting bottom navi bar with flutter , it can help you make a nice animation bottom bar easily , hope you will like it.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

xi505591443@gmail.com

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on tx_navibar