createSplash function

Future createSplash (
  1. String imagePath,
  2. String color
)

Create iOS splash screen

Implementation

createSplash(String imagePath, String color) async {
  if (imagePath.isNotEmpty) {
    await _applyImage(imagePath);
  }

  await _applyLaunchScreenStoryboard(imagePath, color);
  await _applyInfoPList();
  await _applyAppDelegate();
}