splash_master 0.0.2 copy "splash_master: ^0.0.2" to clipboard
splash_master: ^0.0.2 copied to clipboard

Unifying Native and Flutter splash screens with multiple media options for a seamless user experience.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:splash_master/splash_master.dart';
import 'package:splash_master_example/assets.dart';
import 'package:splash_master_example/home.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  SplashMaster.initialize();
  runApp(
    const MaterialApp(
      debugShowCheckedModeBanner: false,
      home: SplashScreen(),
    ),
  );
}

class SplashScreen extends StatelessWidget {
  const SplashScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return SplashMaster.video(
      source: AssetSource(Assets.simformSplashVideo),
      videoConfig: const VideoConfig(
        videoVisibilityEnum: VisibilityEnum.useAspectRatio,
      ),
      backGroundColor: Colors.white,
      nextScreen: const Home(),
    );
  }
}
36
likes
160
points
153
downloads
screenshot

Publisher

verified publishersimform.com

Weekly Downloads

Unifying Native and Flutter splash screens with multiple media options for a seamless user experience.

Repository (GitHub)
View/report issues

Topics

#splash-screen #flutter-splash-screen #flutter-splash #native-splash-screen #launch-screen

Documentation

API reference

License

MIT (license)

Dependencies

args, flutter, lottie, video_player, xml, yaml

More

Packages that depend on splash_master