applyAndroidSplashImage function
Apply the splash images to Android
Implementation
Future<void> applyAndroidSplashImage({
String? imageSource,
String? color,
String? gravity,
YamlMap? android12AndAbove,
}) async {
await generateAndroidImages(
imageSource: imageSource,
);
await generateImageForAndroid12AndAbove(
android12AndAbove: android12AndAbove,
);
await createColors(
color: color,
);
await createSplashImageDrawable(
imageSource: imageSource,
color: color,
gravity: gravity,
);
await updateStylesXml(
android12AndAbove: android12AndAbove,
color: color,
);
}