Back to Bloc

README

bricks/replay_cubit/README.md

latest1.9 KB
Original Source
<p align="center"> </p> <p align="center"> <a href="https://github.com/felangel/bloc/actions"></a> <a href="https://codecov.io/gh/felangel/bloc"></a> <a href="https://github.com/felangel/bloc"></a> <a href="https://opensource.org/licenses/MIT"></a> <a href="https://discord.gg/bloc"></a> <a href="https://github.com/felangel/bloc"></a> <a href="https://github.com/felangel/mason"></a> </p>

Generate a new ReplayCubit in Dart. Built for the bloc state management library.

Usage šŸš€

sh
mason make replay_cubit --name counter --style basic

Variables ✨

VariableDescriptionDefaultType
nameThe name of the cubit classcounterstring
styleThe style of cubit generatedbasic (basic, equatable, freezed)enum

Output šŸ“¦

sh
ā”œā”€ā”€ counter_cubit.dart
└── counter_state.dart