FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
130 stars 26 forks source link

Tabbar Unselected Label Text Color bud #4761

Closed cnrsbtogll closed 3 weeks ago

cnrsbtogll commented 3 weeks ago

Can we access your project?

Current Behavior

I choose black as the label color for the unselected tab bar, but when I transfer it to the code, an incorrect value appears.

Expected Behavior

Unselected tab text color should be fixed.

Steps to Reproduce

create a tabbar. give a tab text color for the unselected tab. eg: black. start the test. the text color of the unselected tab comes from the text color of the selected tab.

Reproducible from Blank

Bug Report Code (Required)

ITFTzcmA38lOxLhc+Kn6a8JoiWMvI0MfX5I7i95EZwEhNZDkOrQuPczCbhdLYte6eXx6C039kTsDpfDuk+zhJvEqZCiWfaJdz75XQQvMUkOiVaaMOrq8T3FCQdFPIX6g0cOrnxQkOrFfLXwc21ylfvCNG3qCf9qOYwx5e6fDbOY=

Visual documentation

unselectedlabelcolor

Environment

- FlutterFlow version: 3.2.24
- Platform: android-ios
- Browser name and version: chrome
- Operating system and version affected: ios - android

Additional Information

No response

Alezanello commented 3 weeks ago

Hello!

I wasn't able to replicate the issue on my end. The code appears to be generated correctly, with the Tertiary color set as "Selected" and the Primary color as "Unselected." Both the code output and the visual result are as expected.

Please let me know if there are any additional details or specific steps I might be missing to help reproduce this issue.

Here is the public project, you can clone it and test it: https://app.flutterflow.io/project/qa-2910-lxgiat

image.png image.png
cnrsbtogll commented 3 weeks ago

report code: ITFTzcmA38lOxLhc+Kn6a8JoiWMvI0MfX5I7i95EZwEhNZDkOrQuPczCbhdLYtTidGxmME6bgj8EpK35iYbDVsA6Cw6ZRphH+IRXQQvMUkOiVaaMOrq8T3FCQdFPIX6g0cOrnxQkOrFfLXwc21ylfvCNG3qCf9qOYwx5e6fDbOY=

tabbar style: should be "Button". FlutterFlow v5.0.8+ released October 25, 2024 Flutter version is 3.24.2

flavioacm commented 3 weeks ago

I´m having the same problem. Using Toggle Button style.

Alezanello commented 3 weeks ago

@cnrsbtogll Even with the Button Style is everything working as expected

buttonStyle.gif
Alezanello commented 3 weeks ago

Even with the Toggle Button Style @flavioacm

TogglebuttonStyle.gif

Here is the public project, you can clone it and test it:
https://app.flutterflow.io/project/qa-2910-lxgiat

cnrsbtogll commented 3 weeks ago

The custom selected label style switch was closed. It was fixed when I activated the switch. Thanks for your help.

custom unselected label
flavioacm commented 3 weeks ago

This behavior is different from before.

Now you need to mark the “custom selection label style”, and then the "unselected color" works.

This difference is generating issues in the projects made with old versions.