Repository navigation
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)Accessibility, e.g. VoiceOver or TalkBack. (aka a11y)customer: castawayframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packagesmaterial_ui package in flutter/packagesr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Description
Hello,
When we use a SliverAppBar, we notice that the semantic order is defined in this way: Leading -> Title -> Actions -> Bottom -> FlexingSpace.
| Semantics( |
I think it could be useful to be able to modify this order, for example the Bottom at the end
Thanks for your help :)
Reacted by Luz Godoy, Juan Rivadeneira and Alejandro Cumpa
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)Accessibility, e.g. VoiceOver or TalkBack. (aka a11y)customer: castawayframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packagesmaterial_ui package in flutter/packagesr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Type
Projects
- StatusShow more project fieldsDone
Activity
darshankawar commentedon Feb 16, 2022
@yarmDev
Check this issue comment for your reference and see by using
Semantics( sortKey: OrdinalSortKeyif it helps to achieve your use case.yarmDev commentedon Feb 16, 2022
I have already tried to use the sortKey in the SliverAppBar, it does not change.
I think the sortkeys inside the appBar take over
darshankawar commentedon Feb 17, 2022
@yarmDev
Can you provide a code sample that shows the current behavior along with an expected result you are looking for ?
yarmDev commentedon Feb 17, 2022
this is the current behavior:
Enregistrement.de.l.ecran.2022-02-17.a.12.56.53.mov
I would like to be able to select the searchForm after the backButton, it seems more logical to me
darshankawar commentedon Feb 18, 2022
@yarmDev
Have you tried using
ExcludeSemanticswidget ? You can read more about it here https://api.flutter.dev/flutter/widgets/ExcludeSemantics-class.html and see if it helps to arrange traversal order per your requirement.yarmDev commentedon Feb 20, 2022
In fact I wouldn't want to exclude the bottom.
darshankawar commentedon Feb 21, 2022
@yarmDev
It seems the code you shared has lot of custom implementation, can you provide a runnable code sample that we can directly run and verify ?
29 remaining items
chunhtai commentedon Jan 9, 2025
Looks like it is the sort key in the appbar that causes issue, we will probably need to investigate how to properly assign sortkey.
fix the issue that can't set app bar traversal order for flexible spa…
github-actions commentedon Mar 3, 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 -vand a minimal reproduction of the issue.fix the issue that can't set app bar traversal order for flexible spa…