reland "Adds semantics information for the popup menu item (#61258)" (#61385)

This commit is contained in:
chunhtai
2020-07-13 16:16:02 -07:00
committed by GitHub
parent f7688c5001
commit 88a78d660e
3 changed files with 160 additions and 12 deletions

View File

@@ -435,7 +435,7 @@ void main() {
expect(
await getSemantics(find.byValueKey('$popupKeyValue.$item')),
hasAndroidSemantics(
className: AndroidClassName.view,
className: AndroidClassName.button,
isChecked: false,
isCheckable: false,
isEnabled: true,
@@ -459,7 +459,7 @@ void main() {
expect(
await getSemantics(find.byValueKey('$popupKeyValue.$item')),
hasAndroidSemantics(
className: AndroidClassName.view,
className: AndroidClassName.button,
isChecked: false,
isCheckable: false,
isEnabled: true,