You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wire up SemanticsAction.focus to the framework (#149374)
Wire up `SemanticsAction.focus` to `Semantics` and `CustomPaint`. Reenable respective tests, and add `focus` tests to them.
Contributes to a fix for flutter/flutter#83809
// TODO(yjbanov): temporary adding default case until https://github.com/flutter/engine/pull/53094 rolls in (see https://github.com/flutter/flutter/issues/83809)
405
-
// ignore: no_default_cases
406
-
default:
407
-
throwUnimplementedError();
408
406
}
409
407
expect(performedActions.length, expectedLength);
410
408
expect(performedActions.last, action);
411
409
expectedLength +=1;
412
410
}
413
411
414
412
semantics.dispose();
415
-
}, skip:true); // TODO(yjbanov): temporary skip until https://github.com/flutter/engine/pull/53094 rolls in (see https://github.com/flutter/flutter/issues/83809)
413
+
});
416
414
417
415
testWidgets('Supports all flags', (WidgetTester tester) async {
// TODO(yjbanov): temporary adding default case until https://github.com/flutter/engine/pull/53094 rolls in (see https://github.com/flutter/flutter/issues/83809)
575
-
// ignore: no_default_cases
576
-
default:
577
-
throwUnimplementedError();
578
576
}
579
577
expect(performedActions.length, expectedLength);
580
578
expect(performedActions.last, action);
581
579
expectedLength +=1;
582
580
}
583
581
584
582
semantics.dispose();
585
-
}, skip:true); // TODO(yjbanov): temporary skip until https://github.com/flutter/engine/pull/53094 rolls in (see https://github.com/flutter/flutter/issues/83809)
583
+
});
586
584
587
585
testWidgets('Semantics widget supports all flags', (WidgetTester tester) async {
0 commit comments