xcream 1.0.9
xcream: ^1.0.9 copied to clipboard
A CLI tool for xcream games.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate xcream
Use it
The package has the following executables:
$ xcream
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add xcream
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
xcream: ^1.0.9
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:xcream/cli/cli.dart';
import 'package:xcream/cli/empty_template.dart';
import 'package:xcream/cli/example_project.dart';
import 'package:xcream/cli/image_downloader/image_downloader.dart';
import 'package:xcream/cli/project_creator.dart';
import 'package:xcream/cli/project_type.dart';
import 'package:xcream/cli/templates/base_template/base_config_file.dart';
import 'package:xcream/cli/templates/base_template/base_game_file.dart';
import 'package:xcream/cli/templates/base_template/components_files.dart';
import 'package:xcream/cli/templates/base_template/src_files_creator.dart';
import 'package:xcream/cli/templates/base_template/widgets_files.dart';
import 'package:xcream/cli/templates/empty_template/base_config_file.dart';
import 'package:xcream/cli/templates/empty_template/base_game_file.dart';
import 'package:xcream/cli/templates/empty_template/components_files.dart';
import 'package:xcream/cli/templates/empty_template/src_files_creator.dart';
import 'package:xcream/cli/templates/empty_template/widgets_files.dart';
import 'package:xcream/cli/templates/folders_creator.dart';
import 'package:xcream/cli/templates/main_file_creator.dart';
import 'package:xcream/cli/templates/profile_creator.dart';
import 'package:xcream/cli/templates/test_file_creator.dart';