File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
packages/flutter/lib/src/widgets Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -444,9 +444,6 @@ abstract class FocusTraversalPolicy with Diagnosticable {
444444 case TraversalEdgeBehavior .closedLoop:
445445 _focusAndEnsureVisible (sortedNodes.first, alignmentPolicy: ScrollPositionAlignmentPolicy .keepVisibleAtEnd);
446446 return true ;
447- // TODO(goderbauer): Remove this hack once exhaustiveness bug is fixed, https://github.com/flutter/flutter/issues/123243.
448- default : // ignore: no_default_cases
449- throw UnsupportedError ('unreachable' );
450447 }
451448 }
452449 if (! forward && focusedChild == sortedNodes.first) {
@@ -457,9 +454,6 @@ abstract class FocusTraversalPolicy with Diagnosticable {
457454 case TraversalEdgeBehavior .closedLoop:
458455 _focusAndEnsureVisible (sortedNodes.last, alignmentPolicy: ScrollPositionAlignmentPolicy .keepVisibleAtStart);
459456 return true ;
460- // TODO(goderbauer): Remove this hack once exhaustiveness bug is fixed, https://github.com/flutter/flutter/issues/123243.
461- default : // ignore: no_default_cases
462- throw UnsupportedError ('unreachable' );
463457 }
464458 }
465459
You can’t perform that action at this time.
0 commit comments