flutter_tab_bar_no_ripple 0.1.1 copy "flutter_tab_bar_no_ripple: ^0.1.1" to clipboard
flutter_tab_bar_no_ripple: ^0.1.1 copied to clipboard

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(),
);

17
likes
40
pub points
0%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on flutter_tab_bar_no_ripple