utils/utils library

Functions

deleteFile(String filePath) bool
Delete file
getColorXmlContent(String color) String
Get color xml content
hasAndroidAdaptiveConfig(Map<String, dynamic> platforms) bool
Checks if the config has android adaptive.
hasAndroidConfig(Map<String, dynamic> platforms) bool
Checks if the config has android.
hasIosConfig(Map<String, dynamic> platforms) bool
Checks if the config has ios.
hasLinuxConfig(Map<String, dynamic> platforms) bool
Checks if the config has linux.
hasMacOSConfig(Map<String, dynamic> platforms) bool
Checks if the config has macos.
hasPlatformConfig(Map<String, dynamic> config) bool
Checks if the config file contains a platform
hasWebConfig(Map<String, dynamic> platforms) bool
Checks if the config has web.
hasWindowsConfig(Map<String, dynamic> platforms) bool
Checks if the config has windows.
isImageFile(String fileName) bool
Checking valid image file
isNeedingNewAndroidIcon(Map<String, dynamic> platforms) bool
Checks if the config need android.
isNeedingNewIosIcon(Map<String, dynamic> platforms) bool
Checks if the config need ios.
isNeedingNewLinuxIcon(Map<String, dynamic> platforms) bool
Checks if the config need linux.
isNeedingNewMacOSIcon(Map<String, dynamic> platforms) bool
Checks if the config need macos.
isNeedingNewWebIcon(Map<String, dynamic> platforms) bool
Checks if the config need linux.
isNeedingNewWindowsIcon(Map<String, dynamic> platforms) bool
Checks if the config need windows.
isValidHexaCode(String hexaCode) bool
Checking color code
removeDir(String dirPath) bool
Remove directory