FLUTTER ECOSYSTEM

Bilonik/flashy_tab_bar2

Bilonik/flashy_tab_bar2 open-source repository details.

flashy_tab_bar2 项目封面
Stars
18
Forks
12
最近推送(UTC)
2024年3月5日
项目状态
未归档
AH GitHub avatar
GITHUB User

AH ↗

语言DartHTMLRubySwiftKotlinObjective-C

此仓库发布的插件

使用的依赖

依赖清单 2 项
  • flutter{"sdk":"flutter"}
  • flutter_test开发依赖{"sdk":"flutter"}

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

flashy_tab_bar2

GitHub license

THIS IS A FORK OF flashy_tab_bar by leesnhyun

One another nice animated tabbar (Inspired by Cuberto)

Animation

Preview

Android iOS
https://raw.githubusercontent.com/leesnhyun/flashy_tab_bar/master/docs/emulator-android.gif https://raw.githubusercontent.com/leesnhyun/flashy_tab_bar/master/docs/emulator-ios.gif

Getting Started

Add the dependency at pubspec.yaml:

dependencies:
  ...
  flashy_tab_bar2: ^0.0.10

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('한국어'),
        ),
      ],
),