mybloc 0.0.2 copy "mybloc: ^0.0.2" to clipboard
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

LinkedIn WhatsApp Gmail

1
likes
120
points
47
downloads
screenshot

Publisher

verified publisherdarray.co

Weekly Downloads

Create bloc files with freezed state class and freezed generator, also can call the generate command.

Documentation

API reference

License

MIT (license)

Dependencies

bloc, flutter, flutter_bloc, freezed, freezed_annotation, yaml

More

Packages that depend on mybloc