-
Notifications
You must be signed in to change notification settings - Fork 6k
Add Expanded/Collapsed state for SubmenuButton
#43983
Add Expanded/Collapsed state for SubmenuButton
#43983
Conversation
183de0d to
6f6069b
Compare
SubmenuButtonSubmenuButton
|
I will create a PR in flutter/flutter to disable the failed framework tests temporarily. |
cbracken
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! lgtm!
c171358 to
2b3b0dc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good here, can you also update shell/platform/android/io/flutter/view/AccessibilityBridge.java ?
Oh I think there's already an update in this file:) Is that what you want? |
yes, you are right! for some reason I missed it. |
chunhtai
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
lib/ui/semantics.dart
Outdated
|
|
||
| /// The semantics node has the quality of either being "expanded" or "collapsed". | ||
| /// | ||
| /// For example, a submenu button widget has expanded state. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| /// For example, a submenu button widget has expanded state. | |
| /// For example, a [SubmenuButton] widget has expanded state. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not entirely sure if the doc string can pick this up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just checked other api doc and looks like using square bracket can link to the widget doc. Thanks for the suggestion:)
…on (#131359) This PR is to skip some unit tests in order to merging an [engine change](flutter/engine#43983).
2b3b0dc to
05d9a01
Compare
|
auto label is removed for flutter/engine, pr: 43983, due to - The status or check suite Linux linux_clang_tidy has failed. Please fix the issues identified (or deflake) before re-applying this label. |
…131453) flutter/engine@0713d91...b0d97ba 2023-07-28 [email protected] Add Expanded/Collapsed state for `SubmenuButton` (flutter/engine#43983) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…on (flutter#131359) This PR is to skip some unit tests in order to merging an [engine change](flutter/engine#43983).
…lutter#131453) flutter/engine@0713d91...b0d97ba 2023-07-28 [email protected] Add Expanded/Collapsed state for `SubmenuButton` (flutter/engine#43983) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…on (flutter#131359) This PR is to skip some unit tests in order to merging an [engine change](flutter/engine#43983).
…lutter#131453) flutter/engine@0713d91...b0d97ba 2023-07-28 [email protected] Add Expanded/Collapsed state for `SubmenuButton` (flutter/engine#43983) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
This PR is to add support for the expanded/collapsed-state semantics flag to the engine. After adding another PR to Flutter, we will be able to support the expanded/collapsed state in semantics for submenu buttons. Related to [#127617](flutter/flutter#127617) in flutter
This PR is to add support for the expanded/collapsed-state semantics flag to the engine. After adding another PR to Flutter, we will be able to support the expanded/collapsed state in semantics for submenu buttons.
Related to #127617 in flutter
Pre-launch Checklist
///).