blocraft 1.0.0 copy "blocraft: ^1.0.0" to clipboard
blocraft: ^1.0.0 copied to clipboard

CLI to scaffold Flutter Bloc Clean Architecture.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate blocraft

Use it

The package has the following executables:

$ blocraft

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add blocraft

With Flutter:

 $ flutter pub add blocraft

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

dependencies:
  blocraft: ^1.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:blocraft/commands/feature_command.dart';
import 'package:blocraft/commands/init_command.dart';
import 'package:blocraft/commands/utils.dart';
1
likes
120
points
46
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

CLI to scaffold Flutter Bloc Clean Architecture.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on blocraft