Search packages, repositories and app categories

bubble_tab_indicator cover
Package detailsv0.1.6

bubble_tab_indicator

A Flutter library to add bubble-like effect to tab indicator to TabBar.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
3.3K
Likes
254
Pub points
140

Install package

flutter pub add bubble_tab_indicator

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter package that enhances TabBar widgets with a bubble-like animation effect for the tab indicator. It provides a visually appealing, dynamic transition between tabs, making navigation more engaging and intuitive. The bubble effect smoothly expands and contracts as users switch tabs, adding a modern touch to tabbed interfaces. Compatible across all major platforms including Android, iOS, Web, macOS, Windows, and Linux, it integrates seamlessly into existing Flutter projects. Ideal for apps requiring interactive and aesthetically pleasing tab navigation.

Use cases

  • Enhancing tab navigation in mobile apps
  • Creating modern UIs with animated indicators
  • Improving user experience in dashboard layouts
  • Adding visual feedback during tab switching
  • Designing sleek web applications with interactive tabs

Key features

  • Smooth bubble animation on tab change
  • Customizable bubble size and color
  • Supports both horizontal and vertical TabBars
  • Easy integration with existing TabBar widgets
  • Cross-platform compatibility

Suitable for

  • UI designers seeking visual polish
  • Developers building interactive dashboards
  • Apps with multiple tab sections
  • Projects emphasizing user engagement
  • Flutter beginners exploring custom widgets

Considerations

  • May impact performance on low-end devices
  • Requires careful color and size tuning for readability
  • Not suitable for minimalistic design styles
  • Limited customization beyond basic bubble properties
  • Best used with clear tab labels for optimal UX

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Bubble Tab Indicator

pub package

A Flutter library to add bubble tab indicator to TabBar.

banner

Getting Started

Add package from github by adding the following to your pubspec.yaml, pub publication is added later.

  dependencies:
    bubble_tab_indicator: "^0.1.5"

Import the library in your file:

import 'package:bubble_tab_indicator/bubble_tab_indicator.dart';

Use the BubbleTabIndicator like this:

new TabBar(
  indicatorSize: TabBarIndicatorSize.tab,
  indicator: BubbleTabIndicator(
            indicatorHeight: 25.0,
            indicatorColor: Colors.blueAccent,
            tabBarIndicatorSize: TabBarIndicatorSize.tab,
            // Other flags
            // indicatorRadius: 1,
            // insets: EdgeInsets.all(1),
            // padding: EdgeInsets.all(10)
          ),
)

Categories

Source repository

Projects using this package