ios library

Classes

ContentsImageAppearanceObject
ContentsImageObject
ContentsInfoObject
IosIconTemplate
File to handle the creation of icons for iOS platform

Properties

iosIcons List<IosIconTemplate>
getter/setter pair
legacyIosIcons List<IosIconTemplate>
details of the ios icons which need to be generated
getter/setter pair

Functions

changeIosLauncherIcon(String iconName, String? flavor) Future<void>
Change the iOS launcher icon
createIcons(Config config, String? flavor) → void
create the ios icons
createImageList(String fileNamePrefix, String? darkFileNamePrefix, String? tintedFileNamePrefix) List<Map<String, dynamic>>
Create the image list for the Contents.json file for Xcode versions Xcode 14 and above
createLegacyImageList(String fileNamePrefix) List<Map<String, dynamic>>
Create the image list for the Contents.json file for Xcode versions below Xcode 14
createResizedImage(IosIconTemplate template, Image image) → Image
create resized icon image
generateContentsFileAsString(String newIconName, String? darkIconName, String? tintedIconName) String
modifyContentsFile(String newIconName, String? darkIconName, String? tintedIconName) → void
Create the Contents.json file
modifyDefaultContentsFile(String newIconName, String? darkIconName, String? tintedIconName) → void
Modify default Contents.json file
overwriteDefaultIcons(IosIconTemplate template, Image image, [String iconNameSuffix = '']) → void
Note: Do not change interpolation unless you end up with better results (see issue for result when using cubic interpolation) https://github.com/fluttercommunity/flutter_launcher_icons/issues/101#issuecomment-495528733
saveNewIcons({required IosIconTemplate template, required Image image, required String catalogName, required String iconName}) → void
Note: Do not change interpolation unless you end up with better results (see issue for result when using cubic interpolation) https://github.com/fluttercommunity/flutter_launcher_icons/issues/101#issuecomment-495528733