bricks/cubit/README.md
Generate a new Cubit in Dart. Built for the bloc state management library.
mason make cubit --name counter --style basic
| Variable | Description | Default | Type |
|---|---|---|---|
name | The name of the cubit class | counter | string |
style | The style of cubit generated | basic (basic, equatable, freezed) | enum |
āāā counter_cubit.dart
āāā counter_state.dart