GitHub repositorymzakizadeh/shifting_tabbar

shifting_tabbar

A custom tab bar widget for Flutter framework.

shifting_tabbar project cover
Stars
146
Forks
17
Last push (UTC)
Jul 12, 2025
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

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
GitHub author

Mahdi Zakizadeh ↗

NLP Researcher

LanguagesDartJavaObjective-CSwiftKotlin

Categories

Dependencies used

Dependency list 2 items

  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

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

GitHub Docs — About repositories ↗