-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possibility to arrange SegmentedButton vertically #150416
Comments
In case we add support for this, there should be design spec accordingly, but it doesn't exist on M3 design as I can see: https://m3.material.io/components/segmented-buttons/specs. Instead, I see ToggleButtons has |
Could the suggestion be forwarded to the Material team then ? |
This needs to be triaged by Flutter design team afterward if you think this feature should be added to SegmentedButton. Doesn't ToggleButtons work for your case? |
ToggleButton is m2, cant see it is mentioned in m3. We are trying to
implement m3 in our projects from now on.
tir. 18. juni 2024, 13:41 skrev Huy ***@***.***>:
… This needs to be triaged by Flutter design team afterward if you think
this feature should be added to SegmentedButton. Doesn't ToggleButtons
<https://api.flutter.dev/flutter/material/ToggleButtons-class.html> work
for your case?
—
Reply to this email directly, view it on GitHub
<#150416 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACVSTEHDM3VJOIQG26VJGCLZIAMG3AVCNFSM6AAAAABJPSAXCSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZVHA4TKOBUGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Please assign me to this. |
Use case
I see that SegmentedButton are only ment to be horizontal, but we often see the need to arrange them vertically.
![image](https://private-user-images.githubusercontent.com/11217296/340604371-ae611a4a-9e2e-4801-94f9-70dd99ab99e9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4MTUwOTIsIm5iZiI6MTcxOTgxNDc5MiwicGF0aCI6Ii8xMTIxNzI5Ni8zNDA2MDQzNzEtYWU2MTFhNGEtOWUyZS00ODAxLTk0ZjktNzBkZDk5YWI5OWU5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAxVDA2MTk1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMxMWQ2ZTk4MGE3MDJjNWZkMDVjYmZhN2ZhNDMzNjRkMjAxZTgxZTE0NTY2NGY3MTAxYmNiZGU3M2Q3Y2Q1ODUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.zzc_eri2qy4TBDD7TXrhZdXy_h7oKYUvC2qqhgEhv5A)
An example below (snipped from an android/kotlin app):
Proposal
Please add a
direction
parameter in SegmentedButton, which turns the direction of the layout....such as this one, actually suggested from Gemini:
the call has been forwarded...
The text was updated successfully, but these errors were encountered: