Git Product home page Git Product logo

Comments (5)

William-cpu avatar William-cpu commented on July 19, 2024

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.

avenwu avatar avenwu commented on July 19, 2024

@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.

William-cpu avatar William-cpu commented on July 19, 2024

@avenwu Hello. Thank you for your response. It would be a nice feature. Hiding the title.

from convex_bottom_bar.

William-cpu avatar William-cpu commented on July 19, 2024

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.

avenwu avatar avenwu commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.