cli_commands library

Flutter Native Splash

This is the main entry point for the Flutter Native Splash package.

Extensions

StringExtension on String

Functions

createBackgroundImage({required String imageDestination, required String imageSource}) → void
createBackgroundImages({required String? backgroundImage, required String? darkBackgroundImage}) → void
createSplash({required String? path, required String? flavor}) → void
Create splash screens for Android, iOS and HarmonyOS
createSplashByConfig(Map<String, dynamic> config) → void
Create splash screens for Android, iOS and HarmonyOS based on a config argument
getConfig({required String? configFile, required String? flavor}) Map<String, dynamic>
Get config from pubspec.yaml or flutter_native_splash.yaml
parseColor(dynamic color) String?
removeElement({required XmlElement launchTheme, required String name}) → void
removeSplash({required String? path, required String? flavor}) → void
Remove any splash screen by setting the default white splash
replaceElement({required XmlElement launchTheme, required String name, required String value}) → void