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 [...]
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
andpart of
directives. - Automatic creation of
cubits
directory and subdirectories for each Cubit. - Templates for Cubit and state files with initial state class.