smart_splash_kit 1.0.1
smart_splash_kit: ^1.0.1 copied to clipboard
A powerful, customizable Flutter splash screen package with smart routing, beautiful animations, API loading, theme support, and seamless native-to-Flutter transitions.
1.0.1 #
- Updated README with animated GIF previews for all 5 splash templates.
- Fixed internal syntax precedence warning during compilation.
- Ensured Android example project aligns with plugin NDK requirements.
1.0.0 #
🚀 Initial Release #
Core Features:
- Smart Routing Engine — Async
onInitcallback withSplashRoutedestinations for home, login, onboarding, or any custom named route. Supports error fallback routes. - Animation Engine — 9 built-in animation types:
fadeIn,scaleUp,scaleDown,slideUp,slideDown,slideLeft,slideRight,rotate,fadeScale,sequence. All configurable with duration, curve, and delay. - UI Builder System — 4 layout types:
logoCenter,logoWithText,fullBackground,custom. Supports gradient backgrounds, responsive layout, and SafeArea handling. - Theme Support —
SplashTheme.light(),SplashTheme.dark(),SplashTheme.auto()(system-detected), andSplashTheme.custom(). FullcopyWithsupport. - API Loader Module —
ApiLoader.run()with configurable timeout, retry count, and retry delay.ApiLoader.runAll()for concurrent loading.ApiLoadResultfor structured outcomes. - Config-Based Splash —
SplashConfigdata model andSplashConfigParserfor JSON/Map-driven splash screens.toMap()round-trip support. - Interactive Splash —
tapToContinueandshowSkipButtonoptions for engaging, user-controlled splash experiences. - Performance Monitoring —
enablePerformanceMonitoringflag logs app startup time in debug builds viaSplashController.loadTimeMs. - Native → Flutter Transition —
keepSplashVisible()andremoveSplash()platform hooks. Compatible withflutter_native_splash. - Error Handling — Built-in error state UI with retry button. Customizable via
errorBuilder. Automatic fallback routing.
Architecture:
SplashController— lifecycle management, state machine, retry logicSplashRouter—pushReplacementNamedand customPageRouteBuildernavigationSplashLayout— layout builder for all 4 layout typesSplashWidgets— pre-built loader, dotsLoader, errorState, retryButton, performanceBadgeSmartSplash— main widget with fullTickerProviderStateMixinanimation support
Platform Support:
- ✅ Android (Kotlin) — system theme detection, device info
- ✅ iOS (Swift + SPM) — system theme detection, device info
- ✅ Web — Flutter web compatible
- ✅ macOS (Swift + SPM) — system theme detection
- ✅ Windows (C++) — registry-based dark mode detection
- ✅ Linux (C++) — platform version support
5 Ready-to-Use Templates:
- Simple Logo Splash
- Animated Logo Splash
- Loader Splash (API simulation)
- Branding Splash (gradient + skip button)
- Config-Based Splash (JSON-driven)