flashy_tab_bar2 0.0.4 flashy_tab_bar2: ^0.0.4 copied to clipboard
One another nice animated tab bar (Flutter Version) (inspired by https://github.com/Cuberto/flashy-tabbar)
flashy_tab_bar2 #
THIS IS A FORK OF flashy_tab_bar by leesnhyun
One another nice animated tabbar (Inspired by Cuberto)
Preview #
Android | iOS |
---|---|
Getting Started #
Add the dependency at pubspec.yaml:
dependencies:
...
flashy_tab_bar2: ^0.0.4
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('한국어'),
),
],
),