Skip to content

How to set tab bar indicator color at Material App theme level? #245

Answered by rydmike
davoutuk asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @davoutuk, thanks for your question.

Can you show me how you are expecting things to look? What your use case looks like? It is a bit unclear to me. I can only answer generally below.

There are many ways to style the TabBar with FlexColorScheme. Its default behavior also depends on if you are using M3 or old M2 mode.

The TabBar is designed to by default use a theme that fits in the AppBar theme use for the app. If you use the TabBar in a body, which you can, you may have to style or theme it to fit in the body, concerning its contrast colors. In M3 mode it typically fits be default, since default AppBar theme uses same style with same contrast requirements as the default body style need.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rydmike
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question This issue is a usage question and will be moved to the Discussions section.
2 participants
Converted from issue

This discussion was converted from issue #221 on August 15, 2024 23:49.