bloc_architecture_cli 0.0.2
bloc_architecture_cli: ^0.0.2 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_arch
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add bloc_architecture_cliWith Flutter:
$ flutter pub add bloc_architecture_cliThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
bloc_architecture_cli: ^0.0.2Alternatively, 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:bloc_architecture_cli/bloc_architecture_cli.dart';