Comments (4)
Hello,
You can already do that using a TabController
. Just attach a listener to it like so:
_tabController.addListener(() {
print(_tabController.index);
});
from buttons_tabbar.
Hi!
Do you mean onTap on the Button?
from buttons_tabbar.
Yes
from buttons_tabbar.
Thanks a lot man.!
from buttons_tabbar.
Related Issues (20)
- Tab with badge or using custom widgets that do not inherit from `Tab` HOT 5
- How to add a shadow under the buttons? HOT 8
- How to get the tabBar on the bottom of the screen? HOT 2
- Flutter 3.0.0 is detecting issue with the library HOT 6
- Add button splashColor property HOT 1
- Initial tab page HOT 1
- How to move from a button to another tab? HOT 4
- [Feature] Display label text on tab selection HOT 3
- 如何获取currentIndex HOT 6
- Tab Scroll issue while less 4 tab HOT 6
- ButtonsTabBar does not respond to tabController HOT 2
- Decoration property HOT 3
- Not responding to clicking on the bottom text HOT 5
- Allow ButtonsTabBar to take the whole width in case of no scroll HOT 3
- Hover decoration doesn't match decoration and unselectedDecoration
- If each tab is supported with a fixed width and selected and unselected font color is not affected HOT 2
- The problem is that there are many titles, such as Title 1, Title 222, title 33333,One of my requirements is to keep the length of each title consistent, consistent design style. HOT 2
- FlutterError - Null check operator used on a null value: _ButtonsTabBarState.initState.<fn> HOT 4
- labelStyle text color not work in material3
- All tabs with same width HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from buttons_tabbar.