File tree 1 file changed +0
-6
lines changed
packages/flutter/lib/src/widgets 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 {
444
444
case TraversalEdgeBehavior .closedLoop:
445
445
_focusAndEnsureVisible (sortedNodes.first, alignmentPolicy: ScrollPositionAlignmentPolicy .keepVisibleAtEnd);
446
446
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' );
450
447
}
451
448
}
452
449
if (! forward && focusedChild == sortedNodes.first) {
@@ -457,9 +454,6 @@ abstract class FocusTraversalPolicy with Diagnosticable {
457
454
case TraversalEdgeBehavior .closedLoop:
458
455
_focusAndEnsureVisible (sortedNodes.last, alignmentPolicy: ScrollPositionAlignmentPolicy .keepVisibleAtStart);
459
456
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' );
463
457
}
464
458
}
465
459
You can’t perform that action at this time.
0 commit comments