Repositório GitHubmzakizadeh/shifting_tabbar

shifting_tabbar

Um widget de barra de guias personalizado para o framework Flutter.

Capa do projeto shifting_tabbar
Estrelas
146
Forks
17
Último push (UTC)
12 de jul. de 2025
Status do projeto
Ativo

README original

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

Shifting TabBar

A custom tab bar widget for Flutter framework.

The design is inspired from Rally project (one of material design studies).

pub package

Getting Started

Add the package to pubspec.yaml
dependencies:
    ...
    shifting_tabbar: ^1.0.2
Import the package
import 'package:shifting_tabbar/shifting_tabbar.dart';
Basic Usage

This widget is programmed to work with TabController. You just need to install and import it to your code and use it just like TabBar.

Don't forget to use DefaultTabController as an ancestor widget if you don't specify controller manually!

new ShiftingTabBar(
    tabs: [
        ShiftingTab(
            icon: Icon(Icons.directions_bike),
            text: "Test 1",
        ),
        ShiftingTab(
            icon: Icon(Icons.directions_car),
            text: "Test 2"
        ),
        ShiftingTab(
            icon: Icon(Icons.directions_transit),
            text: "Test 3"
        ),
    ],
)

See example folder in git repository for more detailed example.

Mahdi Zakizadeh GitHub avatar
Autor no GitHub

Mahdi Zakizadeh ↗

NLP Researcher

LinguagensDartJavaObjective-CSwiftKotlin

Categorias

Dependências usadas

Lista de dependências 2 itens

  • flutter{"sdk":"flutter"}
  • flutter_testDesenvolvimento{"sdk":"flutter"}

Como escolher um repositório para seu projeto?

Filtre pelo caso de uso, compare a atividade e confira o projeto original antes de adotá-lo.

  1. Busque por nome, autor ou descrição e filtre por tema.
  2. Compare estrelas, forks e envios recentes. Estrelas indicam interesse, mas não garantem qualidade.
  3. Confira o README, a licença e as issues no GitHub antes de usar o projeto.

Fontes e manutenção

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗