applySplash function
Applies the splash screen on Android and iOS using details from the YAML file.
Implementation
Future<void> applySplash({
String? imageSource,
String? color,
String? gravity,
String? iosContentMode,
YamlMap? android12AndAbove,
}) async {
await generateIosImages(
imageSource: imageSource,
color: color,
iosContentMode: iosContentMode,
);
await applyAndroidSplashImage(
imageSource: imageSource,
color: color,
gravity: gravity,
android12AndAbove: android12AndAbove,
);
}