forked from fluttercommunity/flutter_launcher_icons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request fluttercommunity#298 from bossly/master
Added missed icon sizes for iOS
- Loading branch information
Showing
2 changed files
with
44 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,8 +22,14 @@ List<IosIconTemplate> iosIcons = <IosIconTemplate>[ | |
IosIconTemplate(name: '-40x40@1x', size: 40), | ||
IosIconTemplate(name: '-40x40@2x', size: 80), | ||
IosIconTemplate(name: '-40x40@3x', size: 120), | ||
IosIconTemplate(name: '-50x50@1x', size: 50), | ||
IosIconTemplate(name: '-50x50@2x', size: 100), | ||
IosIconTemplate(name: '-57x57@1x', size: 57), | ||
IosIconTemplate(name: '-57x57@2x', size: 114), | ||
IosIconTemplate(name: '-60x60@2x', size: 120), | ||
IosIconTemplate(name: '-60x60@3x', size: 180), | ||
IosIconTemplate(name: '-72x72@1x', size: 72), | ||
IosIconTemplate(name: '-72x72@2x', size: 144), | ||
IosIconTemplate(name: '-76x76@1x', size: 76), | ||
IosIconTemplate(name: '-76x76@2x', size: 152), | ||
IosIconTemplate(name: '-83.5x83.5@2x', size: 167), | ||
|
@@ -248,6 +254,30 @@ List<Map<String, String>> createImageList(String fileNamePrefix) { | |
filename: '$fileNamePrefix[email protected]', | ||
scale: '3x') | ||
.toJson(), | ||
ContentsImageObject( | ||
size: '50x50', | ||
idiom: 'iphone', | ||
filename: '$fileNamePrefix[email protected]', | ||
scale: '1x') | ||
.toJson(), | ||
ContentsImageObject( | ||
size: '50x50', | ||
idiom: 'iphone', | ||
filename: '$fileNamePrefix[email protected]', | ||
scale: '2x') | ||
.toJson(), | ||
ContentsImageObject( | ||
size: '57x57', | ||
idiom: 'iphone', | ||
filename: '$fileNamePrefix[email protected]', | ||
scale: '1x') | ||
.toJson(), | ||
ContentsImageObject( | ||
size: '57x57', | ||
idiom: 'iphone', | ||
filename: '$fileNamePrefix[email protected]', | ||
scale: '2x') | ||
.toJson(), | ||
ContentsImageObject( | ||
size: '60x60', | ||
idiom: 'iphone', | ||
|
@@ -296,6 +326,18 @@ List<Map<String, String>> createImageList(String fileNamePrefix) { | |
filename: '$fileNamePrefix[email protected]', | ||
scale: '2x') | ||
.toJson(), | ||
ContentsImageObject( | ||
size: '72x72', | ||
idiom: 'ipad', | ||
filename: '$fileNamePrefix[email protected]', | ||
scale: '1x') | ||
.toJson(), | ||
ContentsImageObject( | ||
size: '72x72', | ||
idiom: 'ipad', | ||
filename: '$fileNamePrefix[email protected]', | ||
scale: '2x') | ||
.toJson(), | ||
ContentsImageObject( | ||
size: '76x76', | ||
idiom: 'ipad', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters