Cubit Generator

Pub Version License

Cubit Generator is a Flutter package designed to automate the creation of Cubit and state files, streamlining the development process for state management in Flutter applications. This tool provides a command-line interface (CLI) for generating Cubit classes and their associated states, ensuring consistency and reducing boilerplate code.

Features

  • Automated File Generation: Quickly generate Cubit and state files with a single command.
  • Structured Directory Management: Organizes generated files into a cubits directory with subdirectories for each Cubit.
  • Seamless Integration: Includes part and part of directives for easier file management.
  • Customizable: Easily extend and modify generated code to fit your specific needs.

Installation

To use Cubit Generator, add it to your pubspec.yaml file:

dependencies:
  cubit_generator: ^0.1.4