native_splash_screen_cli 3.0.0 copy "native_splash_screen_cli: ^3.0.0" to clipboard
native_splash_screen_cli: ^3.0.0 copied to clipboard

A CLI tool that generates native splash screen code for Flutter apps based on a YAML config file.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add native_splash_screen_cli

With Flutter:

 $ flutter pub add native_splash_screen_cli

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  native_splash_screen_cli: ^3.0.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:native_splash_screen_cli/common/const.dart';
import 'package:native_splash_screen_cli/common/utils.dart';
import 'package:native_splash_screen_cli/models/config.dart';
import 'package:native_splash_screen_cli/models/desktop.dart';
import 'package:native_splash_screen_cli/models/flavor.dart';
import 'package:native_splash_screen_cli/models/image.dart';
import 'package:native_splash_screen_cli/models/platforms.dart';
import 'package:native_splash_screen_cli/templates/_config.dart';
import 'package:native_splash_screen_cli/templates/linux.dart';
import 'package:native_splash_screen_cli/templates/linux_build.dart';
import 'package:native_splash_screen_cli/templates/macos.dart';
import 'package:native_splash_screen_cli/templates/macos_build.dart';
import 'package:native_splash_screen_cli/templates/windows.dart';
import 'package:native_splash_screen_cli/templates/windows_build.dart';
2
likes
140
points
138
downloads

Publisher

unverified uploader

Weekly Downloads

A CLI tool that generates native splash screen code for Flutter apps based on a YAML config file.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

args, image, logger, path, yaml

More

Packages that depend on native_splash_screen_cli