animated_splash_themes 1.1.1
animated_splash_themes: ^1.1.1 copied to clipboard
Richly animated Flutter splash screens with 5 built-in styles: Particles, Neon, Grid, Bounce, and Expand (X-style logo zoom). Supports random style selection, custom colors, and configurable display duration.
animated_splash_themes #
A Flutter package providing richly animated splash screens with 5 built-in styles.
Styles #
| particles | neon | grid |
|---|---|---|
| [particles] | [neon] | [grid] |
| Teal gradient with floating particles and glow effects | Dark background with neon glow, corner brackets, and scan lines | Light gray with grid background and orbital animation |
| bounce | expand |
|---|---|
| [bounce] | [expand] |
| Colorful gradient with jumping icon and rotating ring | X-style zoom-out where the app name scales up and reveals the home screen (icon optional) |
random — randomly picks one of the above at runtime.
Installation #
dependencies:
animated_splash_themes: ^1.1.0
Usage #
import 'package:animated_splash_themes/animated_splash_themes.dart';
MaterialApp(
home: AnimatedSplashScreen(
appName: 'My App',
appSubtitle: 'POWERED BY AI', // optional
iconPath: 'assets/images/icon.png',
theme: SplashStyle.random,
nextScreen: const HomePage(),
),
)
Specific style #
AnimatedSplashScreen(
appName: 'My App',
iconPath: 'assets/images/icon.png',
theme: SplashStyle.neon,
nextScreen: const HomePage(),
)
Custom colors #
AnimatedSplashScreen(
appName: 'My App',
iconPath: 'assets/images/icon.png',
theme: SplashStyle.neon,
backgroundColors: [Color(0xFF1A0030), Color(0xFF0D001A)],
accentColor: Colors.purple,
nextScreen: const HomePage(),
)
Expand style (no icon needed) #
AnimatedSplashScreen(
appName: 'My App',
appSubtitle: 'POWERED BY AI',
theme: SplashStyle.expand,
nextScreen: const HomePage(),
)
Custom duration #
AnimatedSplashScreen(
appName: 'My App',
iconPath: 'assets/images/icon.png',
theme: SplashStyle.particles,
duration: const Duration(milliseconds: 3000),
transitionDuration: const Duration(milliseconds: 800),
nextScreen: const HomePage(),
)
Parameters #
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
appName |
String |
✓ | — | Main app name displayed on splash |
appSubtitle |
String? |
— | Subtitle text below app name | |
iconPath |
String? |
✓ ᵃ | — | Asset path to the app icon. Required for all styles except expand |
nextScreen |
Widget |
✓ | — | Screen to navigate to after splash |
theme |
SplashStyle |
SplashStyle.random |
Which style to display | |
duration |
Duration |
2650ms |
How long to show the splash | |
transitionDuration |
Duration |
1200ms |
Fade transition to next screen | |
backgroundColors |
List<Color>? |
style default | Background gradient colors | |
accentColor |
Color? |
style default | Accent / glow color |
Notes #
- The icon image should be square (recommended: 160×160 or larger)
- Status bar style is automatically managed per style (Neon uses light icons)
- All animations are pure Flutter — no native dependencies required