Commit ec17f9b
fix[widget_inspector]: Widget Inspector Directionality & Move button tooltip. (flutter#169425)
Fix Widget Inspector buttons direction & arrow button tooltip text on
when the App locale is RTL:
Before:


After:




## Pre-launch Checklist
- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.
If you need help, consider asking for advice on the #hackers-new channel
on [Discord].
<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
[test-exempt]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes
[Discord]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[Data Driven Fixes]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md
---------
Co-authored-by: Kenzie Davisson <43759233+kenzieschmoll@users.noreply.github.com>1 parent 03dbf1a commit ec17f9b
File tree
4 files changed
+112
-34
lines changed- packages/flutter
- lib/src
- cupertino
- material
- widgets
- test/widgets
4 files changed
+112
-34
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
553 | | - | |
| 553 | + | |
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
557 | 557 | | |
558 | | - | |
| 558 | + | |
559 | 559 | | |
560 | 560 | | |
561 | 561 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
951 | 951 | | |
952 | 952 | | |
953 | 953 | | |
954 | | - | |
| 954 | + | |
955 | 955 | | |
956 | 956 | | |
957 | 957 | | |
958 | 958 | | |
959 | | - | |
| 959 | + | |
960 | 960 | | |
961 | 961 | | |
962 | 962 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
3737 | 3737 | | |
3738 | 3738 | | |
3739 | 3739 | | |
3740 | | - | |
| 3740 | + | |
| 3741 | + | |
| 3742 | + | |
| 3743 | + | |
| 3744 | + | |
3741 | 3745 | | |
3742 | 3746 | | |
3743 | 3747 | | |
| |||
3749 | 3753 | | |
3750 | 3754 | | |
3751 | 3755 | | |
3752 | | - | |
| 3756 | + | |
| 3757 | + | |
| 3758 | + | |
| 3759 | + | |
| 3760 | + | |
3753 | 3761 | | |
3754 | 3762 | | |
3755 | 3763 | | |
| |||
3758 | 3766 | | |
3759 | 3767 | | |
3760 | 3768 | | |
3761 | | - | |
| 3769 | + | |
3762 | 3770 | | |
3763 | 3771 | | |
3764 | 3772 | | |
| |||
3819 | 3827 | | |
3820 | 3828 | | |
3821 | 3829 | | |
3822 | | - | |
| 3830 | + | |
3823 | 3831 | | |
3824 | 3832 | | |
3825 | 3833 | | |
3826 | 3834 | | |
3827 | 3835 | | |
3828 | 3836 | | |
3829 | | - | |
| 3837 | + | |
3830 | 3838 | | |
3831 | | - | |
| 3839 | + | |
3832 | 3840 | | |
3833 | 3841 | | |
3834 | 3842 | | |
3835 | 3843 | | |
3836 | 3844 | | |
3837 | | - | |
3838 | | - | |
3839 | | - | |
| 3845 | + | |
| 3846 | + | |
| 3847 | + | |
| 3848 | + | |
3840 | 3849 | | |
3841 | 3850 | | |
3842 | 3851 | | |
| |||
3868 | 3877 | | |
3869 | 3878 | | |
3870 | 3879 | | |
3871 | | - | |
| 3880 | + | |
3872 | 3881 | | |
3873 | 3882 | | |
3874 | 3883 | | |
| |||
3974 | 3983 | | |
3975 | 3984 | | |
3976 | 3985 | | |
3977 | | - | |
| 3986 | + | |
3978 | 3987 | | |
3979 | 3988 | | |
3980 | 3989 | | |
3981 | 3990 | | |
3982 | | - | |
| 3991 | + | |
3983 | 3992 | | |
3984 | 3993 | | |
3985 | 3994 | | |
| |||
4021 | 4030 | | |
4022 | 4031 | | |
4023 | 4032 | | |
4024 | | - | |
| 4033 | + | |
4025 | 4034 | | |
4026 | 4035 | | |
4027 | 4036 | | |
| |||
Lines changed: 85 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
996 | 996 | | |
997 | 997 | | |
998 | 998 | | |
999 | | - | |
| 999 | + | |
1000 | 1000 | | |
1001 | | - | |
1002 | 1001 | | |
1003 | | - | |
1004 | 1002 | | |
1005 | 1003 | | |
1006 | 1004 | | |
| |||
1023 | 1021 | | |
1024 | 1022 | | |
1025 | 1023 | | |
1026 | | - | |
| 1024 | + | |
1027 | 1025 | | |
1028 | 1026 | | |
1029 | 1027 | | |
1030 | 1028 | | |
1031 | | - | |
| 1029 | + | |
1032 | 1030 | | |
1033 | 1031 | | |
1034 | 1032 | | |
| |||
1050 | 1048 | | |
1051 | 1049 | | |
1052 | 1050 | | |
1053 | | - | |
1054 | 1051 | | |
1055 | 1052 | | |
1056 | 1053 | | |
1057 | 1054 | | |
1058 | 1055 | | |
1059 | 1056 | | |
1060 | | - | |
1061 | 1057 | | |
1062 | 1058 | | |
1063 | 1059 | | |
1064 | | - | |
1065 | | - | |
1066 | 1060 | | |
1067 | 1061 | | |
1068 | | - | |
1069 | | - | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
1070 | 1065 | | |
1071 | | - | |
1072 | 1066 | | |
1073 | 1067 | | |
1074 | 1068 | | |
1075 | | - | |
1076 | | - | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
1077 | 1132 | | |
1078 | | - | |
1079 | | - | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
1080 | 1149 | | |
1081 | 1150 | | |
1082 | 1151 | | |
| |||
0 commit comments