hoshika_flkit 0.2.0
hoshika_flkit: ^0.2.0 copied to clipboard
A CLI tool to generate Flutter projects.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate hoshika_flkitUse it
The package has the following executables:
$ flkit
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add hoshika_flkitWith Flutter:
$ flutter pub add hoshika_flkitThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
hoshika_flkit: ^0.2.0Alternatively, 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:hoshika_flkit/add/feature_writer.dart';
import 'package:hoshika_flkit/commands/add_command.dart';
import 'package:hoshika_flkit/commands/add_feature_command.dart';
import 'package:hoshika_flkit/commands/create_command.dart';
import 'package:hoshika_flkit/create/starter_config.dart';
import 'package:hoshika_flkit/create/starter_language.dart';
import 'package:hoshika_flkit/create/starter_platform.dart';
import 'package:hoshika_flkit/create/starter_project_files.dart';
import 'package:hoshika_flkit/flkit.dart';
import 'package:hoshika_flkit/flkit_cli.dart';
import 'package:hoshika_flkit/templates/template_locator.dart';
import 'package:hoshika_flkit/utils/cli_process_runner.dart';
import 'package:hoshika_flkit/utils/project_files.dart';
import 'package:hoshika_flkit/utils/string_case_extensions.dart';