twitter_splash_screen 0.0.1

SDKflutter
Platformandroidioswindowslinuxmacosweb

A Flutter package providing a customizable circular progress button that fills in three steps.

Flutter Twitter Splash Screen

A Flutter package providing a customizable Twitter-style animated splash screen with smooth scale animations and transitions.

demo

Features

  • 🎯 Pixel-perfect Twitter splash screen animation
  • 🎨 Fully customizable appearance (logo, colors, timing)
  • ⚡ Smooth scale & transition animations
  • 📱 Works across all platforms
  • 🔧 Simple integration
  • 💫 Beautiful bounce effect

Installation

Add this to your package's pubspec.yaml file:

dependencies:
  twitter_splash: ^1.0.0

Usage

Basic Implementation

import 'package:twitter_splash/twitter_splash.dart';

TwitterSplashScreen(
  child: HomeScreen(), // Your main app screen
  logo: Image.asset('assets/logo.png'), // Your app logo
)

Customized Implementation

TwitterSplashScreen(
  // Required
  child: HomeScreen(),
  
  // Optional customizations
  logo: SvgPicture.asset(
    'assets/logo.svg',
    width: 80,
    height: 80,
  ),
  backgroundColor: Colors.blue,
  logoColor: Colors.white,
  initialDelay: const Duration(milliseconds: 500),
  animationDuration: const Duration(milliseconds: 2000),
  onAnimationComplete: () {
    print('Splash animation completed!');
  },
)

Customization Options

ParameterTypeDefaultDescription
childWidgetrequiredMain screen to show after splash
logoWidget?nullCustom logo widget
backgroundColorColorColors.blackSplash screen background
logoColorColorColors.whiteDefault logo color
initialDelayDuration500msAnimation start delay
animationDurationDuration2000msTotal animation time
onAnimationCompleteVoidCallback?nullCompletion callback

Examples

TwitterSplashScreen(
  child: HomeScreen(),
)
TwitterSplashScreen(
  child: HomeScreen(),
  logo: SvgPicture.asset(
    'assets/logo.svg',
    width: 80,
  ),
)

Full Customization

TwitterSplashScreen(
  child: HomeScreen(),
  logo: Image.asset(
    'assets/logo.png',
    width: 100,
    height: 100,
  ),
  backgroundColor: const Color(0xFF1DA1F2), // Twitter Blue
  initialDelay: const Duration(seconds: 1),
  animationDuration: const Duration(milliseconds: 1500),
  onAnimationComplete: () => print('Welcome!'),
)

Platform Support

AndroidiOSWebMacOSLinuxWindows
✅✅✅✅✅✅

🤝 Contributing

Contributions are welcome! Please read our contributing guidelines to get started.

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.


GitHub Repository Description

Twitter-style Splash Screen for Flutter A pixel-perfect implementation of Twitter's iconic splash screen animation with smooth scale transitions and customizable options. Perfect for creating engaging app launch experiences.

Key features: • Exact Twitter animation reproduction • Customizable logo & colors • Smooth transitions • Cross-platform support • Easy integration

Keywords: flutter, splash screen, twitter, animation, scale animation, custom splash, flutter package