Last updated:
0 purchases
flutter tab bar no ripple
TabBarNoRipple #
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';
copied to clipboard
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(),
);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.