Commit 5ce118e
authored
♻️ Refactoring
Continue working on
flutter#8471. The PR refactored
the device selector.
**Changes**
1. Now it builds the component without a combo box button and has an
adaptive interface provided by the IntelliJ platform.
2. Device icons are updated to use icons from [Material Symbols
(Rounded)](https://fonts.google.com/icons?icon.size=16&icon.platform=web&icon.set=Material+Symbols&icon.style=Rounded).
This is supported by Claude Sonnet 4 (75%), GPT-5 (20%), and Gemini 2.5
Pro (5%).
**Screenshots**
| Variants | Before | After |
|:---:|:---:|:---:|
| Regular | <img width="412" height="286" alt="image"
src="https://github.com/user-attachments/assets/745632f7-6f96-4810-a07c-7885c35889ba"
/> | <img width="416" height="288" alt="image"
src="https://github.com/user-attachments/assets/b74b5d68-381a-4097-aef4-f2086e232de1"
/> |
| Compact | <img width="396" height="264" alt="image"
src="https://github.com/user-attachments/assets/15075978-1bbb-4191-9382-071fe9b11d60"
/> | <img width="402" height="264" alt="image"
src="https://github.com/user-attachments/assets/a8d73e37-9af4-4e25-afa5-6117d7f98f57"
/> |DeviceSelectorAction (flutter#8475)1 parent 63d5995 commit 5ce118e
File tree
17 files changed
+285
-78
lines changed- resources
- META-INF
- icons
- src
- icons
- io/flutter
- actions
- devtools
- run
- view
17 files changed
+285
-78
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
Loading
Loading
Loading
Loading
Binary file not shown.
Binary file not shown.
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
| |||
0 commit comments