cubit_generator 1.0.2 copy "cubit_generator: ^1.0.2" to clipboard
cubit_generator: ^1.0.2 copied to clipboard

A CLI application for generating Cubit files in Flutter projects.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate cubit_generator

Use it

The package has the following executables:

$ cubit_generator

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add cubit_generator

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

dependencies:
  cubit_generator: ^1.0.2

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:cubit_generator/cubit_generator.dart';
2
likes
140
points
69
downloads

Publisher

unverified uploader

Weekly Downloads

A CLI application for generating Cubit files in Flutter projects.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

args, flutter, path

More

Packages that depend on cubit_generator