Commit 81749c1
committed
Added icons library and icons example page code generator(python)
1. Automatically generate platform icons extension class (library file) with the same name between Material and Cupertino to `lib/src/platform_icons_gen.dart` file with sorted by name by dart's `Extension`, without changing the existing code(`lib/src/platform_icons.dart`)
2. Automatically generate example page of all icons to file `example/lib//icons_page.dart` with sorted by name, from file `lib/src/platform_icons.dart` and `lib/src/platform_icons_gen.dart`.1 parent 3b89f46 commit 81749c1
File tree
10 files changed
+805
-21
lines changed- example/lib
- lib
- src
- utils
- icons_gen
10 files changed
+805
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
192 | | - | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
193 | 194 | | |
194 | 195 | | |
195 | | - | |
196 | | - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
197 | 199 | | |
198 | 200 | | |
199 | | - | |
200 | | - | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
201 | 204 | | |
202 | 205 | | |
203 | | - | |
204 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
205 | 209 | | |
206 | 210 | | |
207 | 211 | | |
| |||
0 commit comments