mybloc 0.0.2
mybloc: ^0.0.2 copied to clipboard
Create bloc files with freezed state class and freezed generator, also can call the generate command.
Create bloc files with freezed state class and freezed generator, also can call the generate command.
Features #
Bloc architecture
Freezed
Usage #
you need build_runner: ^2.7.1 run first on dev_dependencies:
For clean /// from any folders all files
dart run mybloc clean
Check the pre requisit packages are there or not
dart run mybloc check
For install the pre requisit packages
dart run mybloc get
For runn the build runner code
dart run mybloc gen
Actually it is the sorter version of
build_runner:
flutter pub run build_runner build --delete-conflicting-outputs
Now for creating any bloc class with views, state and event just put
dart run mybloc <class name>
Additional information #
We will update regularly
