native_splash_screen_cli 0.1.1
native_splash_screen_cli: ^0.1.1 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_cliWith Flutter:
$ flutter pub add native_splash_screen_cliThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
native_splash_screen_cli: ^0.1.1Alternatively, 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_cmake.dart';
import 'package:native_splash_screen_cli/templates/windows.dart';
import 'package:native_splash_screen_cli/templates/windows_cmake.dart';