Skip to content

Latest commit

 

History

History
56 lines (47 loc) · 1.51 KB

README.md

File metadata and controls

56 lines (47 loc) · 1.51 KB

flashy_tab_bar

GitHub license

One another nice animated tabbar (Inspired by Cuberto)

Animation

Preview

Android iOS

Getting Started

Add the dependency at pubspec.yaml:

dependencies:
  ...
  flashy_tab_bar: ^0.0.1

Basic Usage

bottomNavigationBar: FlashyTabBar(
     selectedIndex: _selectedIndex,
     showElevation: true,
     onItemSelected: (index) => setState(() {
       _selectedIndex = index;
     }),
     items: [
        FlashyTabBarItem(
          icon: Icon(Icons.event),
          title: Text('Events'),
        ),
        FlashyTabBarItem(
          icon: Icon(Icons.search),
          title: Text('Search'),
        ),
        FlashyTabBarItem(
          icon: Icon(Icons.highlight),
          title: Text('Highlights'),
        ),
        FlashyTabBarItem(
          icon: Icon(Icons.settings),
          title: Text('Settings'),
        ),
        FlashyTabBarItem(
          icon: Icon(Icons.settings),
          title: Text('한국어'),
        ),
      ],
),