Comments (5)
Nevermind ... I figured it out. It seems that adding Padding and Icon(Icons...) shows the icon, but it doesn't show change color. But one thing that I might suggest is that if title is empty, the icons should have a top padding. I don't need to use titles and leaving them empty doesn't look too great. Is there a way to add padding without using a builder?
from convex_bottom_bar.
@William-cpu Sadly, the internal style does not provide such configurations. We are trying to keep the API simple, that's why we didn't expose any custom APIs for the TAB itself.
So are you trying to use the AppBar with only icon displayed, No title at all?
We can hide the Text widget if title is empty, does it make sense for your case?
If you need this hide feature
, just let me know, I will add it to the next milestone.
from convex_bottom_bar.
@avenwu Hello. Thank you for your response. It would be a nice feature. Hiding the title.
from convex_bottom_bar.
Just out of curiosity ... I'm having some color issues :) when navigating to a tab, then leaving it. When the app navigates back to that tab, the initial color is set. I am using Provider to set a state and change color based on that, but I'm sure there is a better way.
from convex_bottom_bar.
Can you provide a video and sample code? It would be helpful. I didn't figure out what's the problem.😂
from convex_bottom_bar.
Related Issues (20)
- Unable to remove the DEBUG label HOT 1
- DefaultTabController Error after Flutter 3.7.0 upgrade HOT 4
- Error building after adding import HOT 4
- Error: Member not found: 'DefaultTabController.maybeOf'. HOT 2
- Does anyone have problem with impeller-enabled on iOS HOT 1
- Error: Member not found: 'DefaultTabController.maybeOf'. Issue HOT 4
- WEB can't be built HOT 2
- Unable to run example code HOT 1
- Error: Member not found: 'DefaultTabController.maybeOf'. return widget.controller ?? DefaultTabController.maybeOf(context); HOT 1
- How to change text styte depends on selected tab?
- ConvexAppBar - elevation, does not work HOT 7
- Selected option occludes snack bar messages HOT 3
- Question: How to not change selected index when another item is pressed?
- Cannot change the currentIndex using Global Key HOT 1
- How can I add IconButton to TabItem HOT 1
- How can I refresh a page during page transitions?
- More customization needed (Circle shadow, switch animation) HOT 1
- ConvexAppBar.badge reactive circle resizes itself when badge isn't empty
- StyleHook issue
- Pixel overflow on big label HOT 1
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 convex_bottom_bar.