This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Commit 4205357
authored
add closed/open focus traversal; use open on web (#115961)
* allow focus to leave FlutterView
* fix tests and docs
* small doc update
* fix analysis lint
* use closed loop for dialogs
* add tests for new API
* address comments
* test FocusScopeNode.traversalEdgeBehavior setter; reverse wrap-around
* rename actionResult to invokeResult
* address comments1 parent d6cd9c0 commit 4205357
File tree
16 files changed
+655
-73
lines changed- packages/flutter
- lib/src
- material
- widgets
- test
- material
- widgets
16 files changed
+655
-73
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1238 | 1238 | | |
1239 | 1239 | | |
1240 | 1240 | | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
1241 | 1247 | | |
1242 | 1248 | | |
1243 | 1249 | | |
| |||
1263 | 1269 | | |
1264 | 1270 | | |
1265 | 1271 | | |
| 1272 | + | |
1266 | 1273 | | |
1267 | 1274 | | |
1268 | 1275 | | |
| |||
1289 | 1296 | | |
1290 | 1297 | | |
1291 | 1298 | | |
| 1299 | + | |
1292 | 1300 | | |
1293 | 1301 | | |
1294 | 1302 | | |
| |||
1367 | 1375 | | |
1368 | 1376 | | |
1369 | 1377 | | |
| 1378 | + | |
1370 | 1379 | | |
1371 | 1380 | | |
1372 | 1381 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
794 | 794 | | |
795 | 795 | | |
796 | 796 | | |
797 | | - | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
798 | 801 | | |
799 | 802 | | |
800 | 803 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
254 | 273 | | |
255 | 274 | | |
256 | 275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1213 | 1213 | | |
1214 | 1214 | | |
1215 | 1215 | | |
| 1216 | + | |
1216 | 1217 | | |
1217 | 1218 | | |
1218 | 1219 | | |
| |||
1222 | 1223 | | |
1223 | 1224 | | |
1224 | 1225 | | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
1225 | 1234 | | |
1226 | 1235 | | |
1227 | 1236 | | |
| |||
1349 | 1358 | | |
1350 | 1359 | | |
1351 | 1360 | | |
| 1361 | + | |
1352 | 1362 | | |
1353 | 1363 | | |
1354 | 1364 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
89 | 124 | | |
90 | 125 | | |
91 | 126 | | |
| |||
407 | 442 | | |
408 | 443 | | |
409 | 444 | | |
410 | | - | |
411 | | - | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
412 | 453 | | |
413 | 454 | | |
414 | | - | |
415 | | - | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
416 | 463 | | |
417 | 464 | | |
418 | 465 | | |
| |||
1592 | 1639 | | |
1593 | 1640 | | |
1594 | 1641 | | |
1595 | | - | |
| 1642 | + | |
1596 | 1643 | | |
1597 | 1644 | | |
1598 | 1645 | | |
| |||
1606 | 1653 | | |
1607 | 1654 | | |
1608 | 1655 | | |
1609 | | - | |
| 1656 | + | |
1610 | 1657 | | |
1611 | 1658 | | |
1612 | 1659 | | |
1613 | 1660 | | |
1614 | 1661 | | |
1615 | 1662 | | |
1616 | 1663 | | |
1617 | | - | |
| 1664 | + | |
1618 | 1665 | | |
1619 | 1666 | | |
1620 | 1667 | | |
| |||
1705 | 1752 | | |
1706 | 1753 | | |
1707 | 1754 | | |
| 1755 | + | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
1708 | 1766 | | |
1709 | | - | |
1710 | | - | |
| 1767 | + | |
| 1768 | + | |
1711 | 1769 | | |
1712 | 1770 | | |
1713 | 1771 | | |
| |||
1729 | 1787 | | |
1730 | 1788 | | |
1731 | 1789 | | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
| 1794 | + | |
| 1795 | + | |
| 1796 | + | |
| 1797 | + | |
| 1798 | + | |
| 1799 | + | |
| 1800 | + | |
1732 | 1801 | | |
1733 | | - | |
1734 | | - | |
| 1802 | + | |
| 1803 | + | |
1735 | 1804 | | |
1736 | 1805 | | |
1737 | 1806 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1093 | 1093 | | |
1094 | 1094 | | |
1095 | 1095 | | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
1096 | 1103 | | |
1097 | 1104 | | |
1098 | 1105 | | |
| |||
1402 | 1409 | | |
1403 | 1410 | | |
1404 | 1411 | | |
| 1412 | + | |
1405 | 1413 | | |
1406 | 1414 | | |
1407 | 1415 | | |
1408 | 1416 | | |
| 1417 | + | |
1409 | 1418 | | |
1410 | 1419 | | |
1411 | 1420 | | |
| |||
1513 | 1522 | | |
1514 | 1523 | | |
1515 | 1524 | | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
1516 | 1540 | | |
1517 | 1541 | | |
1518 | 1542 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
835 | 836 | | |
836 | 837 | | |
837 | 838 | | |
838 | | - | |
839 | | - | |
840 | | - | |
841 | 839 | | |
842 | 840 | | |
843 | 841 | | |
844 | 842 | | |
845 | 843 | | |
846 | 844 | | |
847 | | - | |
848 | | - | |
849 | | - | |
| 845 | + | |
850 | 846 | | |
851 | 847 | | |
852 | 848 | | |
853 | 849 | | |
854 | 850 | | |
855 | 851 | | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
856 | 867 | | |
857 | 868 | | |
858 | 869 | | |
| |||
984 | 995 | | |
985 | 996 | | |
986 | 997 | | |
| 998 | + | |
987 | 999 | | |
988 | 1000 | | |
989 | 1001 | | |
| |||
992 | 1004 | | |
993 | 1005 | | |
994 | 1006 | | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
995 | 1013 | | |
996 | 1014 | | |
997 | 1015 | | |
| |||
1771 | 1789 | | |
1772 | 1790 | | |
1773 | 1791 | | |
| 1792 | + | |
1774 | 1793 | | |
1775 | 1794 | | |
1776 | 1795 | | |
| |||
2018 | 2037 | | |
2019 | 2038 | | |
2020 | 2039 | | |
| 2040 | + | |
2021 | 2041 | | |
2022 | 2042 | | |
2023 | 2043 | | |
| |||
0 commit comments