cubit_generator 0.1.4
cubit_generator: ^0.1.4 copied to clipboard
A Flutter package to automate the creation of Cubit and state files with basic boilerplate and structured directory management. It provides a command-line tool for generating Cubit classes and their a [...]
Cubit Generator #
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
andpart 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
copied to clipboard