bloc_architecture_cli 0.0.4
bloc_architecture_cli: ^0.0.4 copied to clipboard
Bloc Architecture CLI is a command-line tool to generate boilerplate code for Flutter applications using the BLoC (Business Logic Component) pattern. It simplifies the process of setting up BLoC archi [...]
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate bloc_architecture_cliUse it
The package has the following executables:
$ bloc_architecture_cli
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add bloc_architecture_cliThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
bloc_architecture_cli: ^0.0.4Alternatively, 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:bloc_architecture_cli/bloc_architecture_cli.dart';