mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
modify update_icons script to handle some more numerical values. (#20387)
* update script * Update update_icons.dart * Update update_icons.dart
This commit is contained in:
parent
f1549132d8
commit
0098b11d8e
@ -24,8 +24,51 @@ const String kEndGeneratedMark = '// END GENERATED';
|
||||
const Map<String, String> kIdentifierRewrites = <String, String>{
|
||||
'360': 'threesixty',
|
||||
'3d_rotation': 'threed_rotation',
|
||||
'1k': 'one_k',
|
||||
'2k': 'two_k',
|
||||
'3k': 'three_k',
|
||||
'4k': 'four_k',
|
||||
'5k': 'five_k',
|
||||
'6k': 'six_k',
|
||||
'7k': 'seven_k',
|
||||
'8k': 'eight_k',
|
||||
'9k': 'nine_k',
|
||||
'10k': 'ten_k',
|
||||
'1k_plus': 'one_k_plus',
|
||||
'2k_plus': 'two_k_plus',
|
||||
'3k_plus': 'three_k_plus',
|
||||
'4k_plus': 'four_k_plus',
|
||||
'5k_plus': 'five_k_plus',
|
||||
'6k_plus': 'six_k_plus',
|
||||
'7k_plus': 'seven_k_plus',
|
||||
'8k_plus': 'eight_k_plus',
|
||||
'9k_plus': 'nine_k_plus',
|
||||
'1mp': 'one_mp',
|
||||
'2mp': 'two_mp',
|
||||
'3mp': 'three_mp',
|
||||
'4mp': 'four_mp',
|
||||
'5mp': 'five_mp',
|
||||
'6mp': 'six_mp',
|
||||
'7mp': 'seven_mp',
|
||||
'8mp': 'eight_mp',
|
||||
'9mp': 'nine_mp',
|
||||
'10mp': 'ten_mp',
|
||||
'11mp': 'eleven_mp',
|
||||
'12mp': 'twelve_mp',
|
||||
'13mp': 'thirteen_mp',
|
||||
'14mp': 'fourteen_mp',
|
||||
'15mp': 'fifteen_mp',
|
||||
'16mp': 'sixteen_mp',
|
||||
'17mp': 'seventeen_mp',
|
||||
'18mp': 'eighteen_mp',
|
||||
'19mp': 'nineteen_mp',
|
||||
'20mp': 'twenty_mp',
|
||||
'21mp': 'twenty_one_mp',
|
||||
'22mp': 'twenty_two_mp',
|
||||
'23mp': 'twenty_three_mp',
|
||||
'24mp': 'twenty_four_mp',
|
||||
'class': 'class_',
|
||||
|
||||
};
|
||||
|
||||
final Set<String> kMirroredIcons = new Set<String>.from(<String>[
|
||||
|
Loading…
Reference in New Issue
Block a user