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

outdated

A TabBar library with interactive motion animaton.

Motion Tab Bar #

A beautiful animated widget for your Flutter apps

| Preview | |---------|----------| |MotionTabBar Gif |

Getting Started #

Add the plugin:

dependencies:
  motion_tab_bar: ^0.0.1

Basic Usage #

Adding the widget

   MotionTabController _tabController;
  @override
  void initState() {
    super.initState();
    _tabController = new MotionTabController(vsync: this);
  }

  @override
  void dispose() {
    super.dispose();
    _tabController.dispose();
  }
  

 bottomNavigationBar: MotionTabBar(
        tabOneName: "Home",
        tabTwoName: "Search",
        tabThreeName: "Account",
        tabOneIcon: Icons.home,
        tabTwoIcon: Icons.search,
        tabThreeIcon: Icons.account_box,
        tabIconColor: Colors.green,
        tabSelectedColor: Colors.red,
        textStyle: TextStyle(color: Colors.red),
        onTabItemSelected: (int value){
          print(value);
          setState(() {
            _tabController.index = value;
          });
        },
    )

Catch me up on LinkedIn @Rezaul Islam

πŸ’™ to CodeπŸ‘¨πŸ½β€πŸ’» Flutter Expert β€’ Dart Kotlin Swift Node Js β€’ Android β€’ Full Stack Mobile Developer

224
likes
0
pub points
95%
popularity

Publisher

unverified uploader

A TabBar library with interactive motion animaton.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, vector_math

More

Packages that depend on motion_tab_bar