plugin_bloc_freezed
Plugin for Android Studio, minimum required version 2021.2.1. Generating Bloc(flutter_bloc) with Freezed states and events.
Introduction
BlocFreezed plugin for Android Studio with support for the Bloc Library and Freezed. Allow to create some boilerplate folder, bloc and states with events files.
Installation
You can install jar file of plugin manualy:
-
Download file by link.
-
In Android Studio open
File - Settings - Plugins
. And chooseInstall Plugin From Disk
, select jar file.
- Click
Apply
andOK
.
How to use
Simply right click on the File Project view, go to New -> Bloc Freezed
. Also you can use shortcut CTRL+NUMPAD-2
Give it a name in dialog windows, prefer using CameCase format.
Click OK
. And after you can see new folder and files in File Project View.
Generated files:
It remains only to generate freezed
models by:
dart run build_runner build