cubit_generator 0.1.2 copy "cubit_generator: ^0.1.2" to clipboard
cubit_generator: ^0.1.2 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 [...]

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased] #

[0.1.1] - 2024-08-03 #

Added #

  • Initial release of cubit_generator package.
  • Command-line tool for creating Cubit and state files.
  • Basic boilerplate for Cubit and state management, including part and part of directives.
  • Automatic creation of cubits directory and subdirectories for each Cubit.
  • Templates for Cubit and state files with initial state class.

[0.1.1] - 2024-08-10 #

Added #

  • Option to specify initial state properties through the CLI.
  • New documentation section for advanced usage.

Fixed #

  • Bug where part of directive was incorrectly referencing the Cubit file.
  • Fixed issue with generating state classes with special characters in the name.

[0.1.0] - 2024-08-15 #

Changed #

  • Refactored code generation to support customizable templates.
  • Improved error messages for invalid input cases.

Deprecated #

  • Deprecated the --basic flag in favor of the new template system.

[0.2.1] - 2024-08-20 #

Security #

  • Updated dependencies to address security vulnerabilities.
2
likes
0
points
57
downloads

Publisher

unverified uploader

Weekly Downloads

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 associated states, including `part` and `part of` directives, to streamline the development process and ensure consistency across Flutter projects.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, flutter

More

Packages that depend on cubit_generator