You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Clearly document that CupertinoSlidingSegmentedControl's unselected segments are translucent #164073
This is because UIColor.tertiarySystemFill is translucent (alpha = 0.12 in light mode). I think you'll get the same behavior with a UISegmentedControl.
Yeah UISegmentedControl is transparent. I put a UILabel behind a segmented control:
Removing the "waiting for customer" label as this is waiting for a response from triagers, not from me :)
I suspect this behavior should be kept as-is as CupertinoSlidingSegmentedControl's transparency matches UISegmentedControl's transparency. However, I'd suggest we document this behavior as it's surprising and can be easily mistaken as a bug in Flutter.
changed the title [-]CupertinoSlidingSegmentedControl's unselected segments are translucent[/-][+]Clearly document that CupertinoSlidingSegmentedControl's unselected segments are translucent[/+]on Mar 12, 2025
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
LongCatIsLooong commentedon Feb 25, 2025
This is because
UIColor.tertiarySystemFillis translucent (alpha = 0.12 in light mode). I think you'll get the same behavior with aUISegmentedControl.Yeah
UISegmentedControlis transparent. I put aUILabelbehind a segmented control:danagbemava-nc commentedon Feb 25, 2025
Hi @LongCatIsLooong, seeing as this occurs with the native components, is there any further action to be taken on this issue?
loic-sharma commentedon Mar 7, 2025
Removing the "waiting for customer" label as this is waiting for a response from triagers, not from me :)
I suspect this behavior should be kept as-is as
CupertinoSlidingSegmentedControl's transparency matchesUISegmentedControl's transparency. However, I'd suggest we document this behavior as it's surprising and can be easily mistaken as a bug in Flutter.[-]CupertinoSlidingSegmentedControl's unselected segments are translucent[/-][+]Clearly document that CupertinoSlidingSegmentedControl's unselected segments are translucent[/+][cupertino_ui] Document translucent default background of CupertinoSl…
github-actions commentedon Nov 11, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.