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.

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.4] - 2024-08-06 #

Added #

  • Introduced a new feature for automatic detection and generation of states based on Cubit names.
  • Enhanced CLI to support new flags for customization.

Fixed #

  • Resolved an issue where state files were not being generated in the correct directory structure.
  • Fixed a bug causing incorrect imports in generated Cubit files.

Changed #

  • Updated templates for Cubit and state files to follow best practices.
  • Improved performance of file generation by optimizing template parsing.

[0.1.3] - 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.2] - 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.1] - 2024-08-03 #

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.1.0] - 2024-08-03 #

Security #

  • Updated dependencies to address security vulnerabilities.
2
likes
140
points
98
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.15 - 2025.03.30

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