flutter_tab_bar_no_ripple 0.1.1

Flutter Android iOS

TabBarNoRipple widget with no ripple effect, same API with TabBar widget.

TabBarNoRipple #

Build Status

Just tab bar of Flutter, without Ripple Effect

How to use #

This widget has the same API as TabBar widget in Flutter TabBar API

import 'package:flutter_tab_bar_no_ripple/flutter_tab_bar_no_ripple.dart';
TabBarNoRipple(
  controller: _controller,
  isScrollable: true,
  indicator: getIndicator(),
  tabs: _allPages.map<Tab>((_Page page) {
    assert(_demoStyle != null);
    switch (_demoStyle) {
      case TabsDemoStyle.iconsAndText:
        return Tab(text: page.text, icon: Icon(page.icon));
      case TabsDemoStyle.iconsOnly:
        return Tab(icon: Icon(page.icon));
      case TabsDemoStyle.textOnly:
        return Tab(text: page.text);
    }
    return null;
  }).toList(),
);

12
likes
90
pub points
82%
popularity

TabBarNoRipple widget with no ripple effect, same API with TabBar widget.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

datvo0110@gmail.com

License

BSD (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_tab_bar_no_ripple