Skip to content
pubscout

native_splash_screen

3.0.0, released a year ago by an unverified publisher

Fully configurable native splash screen plugin for Linux, Windows, and macOS apps.

WASM-ready
$ flutter pub add native_splash_screen
Source repository

What it does

Delivers fully configurable and animated native splash screens on Linux, Windows, and macOS. It uses compile-time asset generation via a CLI tool and native runtime APIs for fast startup visuals without first-frame jank.

AI-written summary of version 3.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are building a Flutter desktop application for Linux, Windows, or macOS
  • You want to eliminate first-frame jank with native startup visuals

Skip it when

  • You primarily need a mobile-only splash screen solution (iOS/Android)
  • You want a pure Dart-only solution without any CLI or native configuration steps

Strengths

  • Eliminates first-frame jank with true native rendering on desktop platforms
  • Supports compile-time asset generation and runtime animations like fading
  • Retina display support with automatic 1x and 2x asset generation on macOS

Weaknesses

  • Requires manual platform integration steps in CMakeLists.txt and native app entry points
  • Requires a separate CLI tool dependency and command executions for setup and generation

Setup

Kind
Plugin (native code)
Effort
High
Code generation
No
Direct dependencies
4

Requires adding the CLI dev dependency, running initialization and setup CLI commands, patching platform build files (CMakeLists.txt), and adding native initialization code in C++, C, or Swift depending on the target OS.

import 'package:flutter/material.dart';
import 'package:native_splash_screen/native_splash_screen.dart' as nss;

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
    WidgetsBinding.instance.addPostFrameCallback((_) {
      nss.close(animation: nss.CloseAnimation.fade);
    });
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('Native Splash Screen')),
      ),
    );
  }
}

Alternatives

Packages that do the same job and could replace native_splash_screen.