@@ -2006,7 +2006,7 @@ void main() {
2006
2006
SemanticsFlag .isButton,
2007
2007
SemanticsFlag .isEnabled,
2008
2008
SemanticsFlag .hasEnabledState,
2009
- SemanticsFlag .hasToggledState ,
2009
+ SemanticsFlag .hasCheckedState ,
2010
2010
SemanticsFlag .isFocusable,
2011
2011
],
2012
2012
actions: < SemanticsAction > [
@@ -2019,7 +2019,7 @@ void main() {
2019
2019
SemanticsFlag .isButton,
2020
2020
SemanticsFlag .isEnabled,
2021
2021
SemanticsFlag .hasEnabledState,
2022
- SemanticsFlag .hasToggledState ,
2022
+ SemanticsFlag .hasCheckedState ,
2023
2023
SemanticsFlag .isFocusable,
2024
2024
],
2025
2025
actions: < SemanticsAction > [
@@ -2032,7 +2032,7 @@ void main() {
2032
2032
SemanticsFlag .isButton,
2033
2033
SemanticsFlag .isEnabled,
2034
2034
SemanticsFlag .hasEnabledState,
2035
- SemanticsFlag .hasToggledState ,
2035
+ SemanticsFlag .hasCheckedState ,
2036
2036
SemanticsFlag .isFocusable,
2037
2037
],
2038
2038
actions: < SemanticsAction > [
@@ -2051,7 +2051,7 @@ void main() {
2051
2051
semantics.dispose ();
2052
2052
});
2053
2053
2054
- testWidgets ('Toggle buttons have correct semantics' , (WidgetTester tester) async {
2054
+ testWidgets ('Toggle buttons have correct semantics' , (WidgetTester tester) async {
2055
2055
final SemanticsTester semantics = SemanticsTester (tester);
2056
2056
2057
2057
await tester.pumpWidget (
@@ -2079,7 +2079,7 @@ void main() {
2079
2079
SemanticsFlag .isButton,
2080
2080
SemanticsFlag .isEnabled,
2081
2081
SemanticsFlag .hasEnabledState,
2082
- SemanticsFlag .hasToggledState ,
2082
+ SemanticsFlag .hasCheckedState ,
2083
2083
SemanticsFlag .isFocusable,
2084
2084
],
2085
2085
actions: < SemanticsAction > [
@@ -2091,8 +2091,8 @@ void main() {
2091
2091
SemanticsFlag .isButton,
2092
2092
SemanticsFlag .isEnabled,
2093
2093
SemanticsFlag .hasEnabledState,
2094
- SemanticsFlag .isToggled ,
2095
- SemanticsFlag .hasToggledState ,
2094
+ SemanticsFlag .isChecked ,
2095
+ SemanticsFlag .hasCheckedState ,
2096
2096
SemanticsFlag .isFocusable,
2097
2097
],
2098
2098
actions: < SemanticsAction > [
0 commit comments