Plugin for Android Studio, minimum required version 2021.2.1. Generating Bloc with Freezed states and events

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:

  1. Download file by link.

    Download 1.0 version

  2. In Android Studio open File - Settings - Plugins. And choose Install Plugin From Disk, select jar file.

  1. Click Apply and OK.

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

GitHub

View Github