FLUTTER ECOSYSTEM

leesnhyun/flashy_tab_bar

Outro belo tabbar animado (versão Flutter) (inspirado em https://github.com/Cuberto/flashy-tabbar)

Capa do projeto flashy_tab_bar
Stars
38
Forks
15
Último push (UTC)
11 de out. de 2020
Status do projeto
Ativo
SengHyun Lee GitHub avatar
GITHUB User

SengHyun Lee ↗

@tossSeoul
LinguagensDartKotlinSwiftRubyObjective-C

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 2 itens
  • flutter{"sdk":"flutter"}
  • flutter_testDesenvolvimento{"sdk":"flutter"}

README original

Texto original em inglês. Visite o GitHub para a versão atual.

Expandir / recolher README

flashy_tab_bar

GitHub license

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