flutter_tab_bar_no_ripple
thanhdatvo/flutter_tab_bar_no_ripple open-source repository details.
- Stars
- 9
- Forks
- 4
- Last push (UTC)
- Nov 30, 2020
- Project status
- Active
Original README
English project snapshot. Visit GitHub for the latest content.
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';
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(),
);
LanguagesDartRubyObjective-CJava
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.
- Search by repository name, owner or description, then narrow the results by topic.
- Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
- 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 ↗
