flutter_native_splash generates Android, iOS, and web native splash assets and config from YAML settings. It replaces Flutter's default white launch screen with your colors and images.
Overview
flutter_native_splash addresses the brief period before Flutter draws its first frame, when users otherwise see a plain native splash. After you declare colors, images, and platform options in pubspec.yaml or flutter_native_splash.yaml, a create command writes the native files your project needs.
It can set background colors or images, splash images, dark-mode variants, fullscreen behavior, branding images, and per-platform overrides for Android, iOS, and web. Android 12 and later use a separate configuration block with window color, centered icon, and optional icon background because those versions handle splashes differently.
Optional preserve and remove calls keep the splash visible while Dart initialization runs, then hide it when the app is ready. Flavor support generates different splash assets per environment via prefixed YAML files and CLI flavor flags.
The tool adjusts Android launch_background and styles, iOS LaunchScreen storyboard and Info.plist entries, and web index.html plus splash images. A remove command restores Flutter's default white splash.
Key features
- YAML-driven splash configuration
- Android, iOS, and web output
- Dark mode splash variants
- Android 12+ dedicated settings
- Multi-flavor splash generation
- Optional splash preserve API
- Fullscreen and branding options
- create and remove CLI commands
Use cases
- Branded app launch screens
- Per-environment flavor splashes
- Holding splash during slow init
- Dark theme launch experience
- Replacing default white flash