main library

Constants

defaultConfigFile → const String
fileOption → const String
flavorConfigFilePattern → const String
helpFlag → const String

Functions

createIconsFromArguments(List<String> arguments) Future<void>
Creates icons from the arguments passed to the program.
createIconsFromConfig(Map<String, dynamic> config, [String? flavor]) Future<void>
Loads the config file from the arguments passed to the program. Generate launcher icons base on config file.
flavorConfigFile(String flavor) String
getFlavors() List<String>
Returns a list of all the flavors found in the config file.
hasAndroidAdaptiveConfig(Map<String, dynamic> iconsLauncherConfig) bool
Checks if the config has android adaptive.
hasAndroidConfig(Map<String, dynamic> iconsLauncher) bool
Checks if the config has android.
hasIOSConfig(Map<String, dynamic> iconsLauncherConfig) bool
Checks if the config has ios.
hasLinuxConfig(Map<String, dynamic> iconsLauncherConfig) bool
Checks if the config has linux.
hasMacOSConfig(Map<String, dynamic> iconsLauncherConfig) bool
Checks if the config has macos.
hasPlatformConfig(Map<String, dynamic> flutterIconsConfig) bool
Checks if the config platform.
hasWebConfig(Map<String, dynamic> iconsLauncherConfig) bool
Checks if the config has web.
hasWindowsConfig(Map<String, dynamic> iconsLauncherConfig) bool
Checks if the config has windows.
isImagePathInConfig(Map<String, dynamic> flutterIconsConfig) bool
Checks if the config image path.
isNeedingNewAndroidIcon(Map<String, dynamic> iconsLauncherConfig) bool
Checks if the config need android.
isNeedingNewIOSIcon(Map<String, dynamic> iconsLauncherConfig) bool
Checks if the config need ios.
isNeedingNewLinuxIcon(Map<String, dynamic> iconsLauncherConfig) bool
Checks if the config need linux.
isNeedingNewMacOSIcon(Map<String, dynamic> iconsLauncherConfig) bool
Checks if the config need macos.
isNeedingNewWebIcon(Map<String, dynamic> iconsLauncherConfig) bool
Checks if the config need linux.
isNeedingNewWindowsIcon(Map<String, dynamic> iconsLauncherConfig) bool
Checks if the config need windows.
loadConfigFile(String path, String? fileOptionResult) Map<String, dynamic>
Load the config file from the given path.
loadConfigFileFromArgResults(ArgResults argResults, {bool verbose = false}) Map<String, dynamic>?
Loads the config file from the arguments passed to the program.