Live Templates for the freezed package in the intellij ecosystem.
Create boiler plate code faster so you can get to your bussiness logic
-
Using IDE built-in plugin system: Settings/Preferences > Plugins > Marketplace > Search for "Flutter Freezed Snippets" > Install Plugin
-
Manually: Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
There should be a Live Template Group called Freezed.

Begin to type freezedSealedClass and press Tab to generate a freezed sealed class
@freezed
sealed class Demo with _$Demo {
}Begin to type freezedAbstractClass and press Tab to generate a freezed abstract class
@freezed
abstract class Demo with _$Demo {
}Begin to type freezedClass and press Tab to generate a freezed class (<3.0.0)
@freezed
class Demo with _$Demo {
}Begin to type freezedConst and press Tab to generate a basic constructor
const factory Demo() = _Demo;Begin to type freezedEmptyConst and press Tab to generate a empty constructor that can be extended/subclass
const factory Demo._() = _Demo;Begin to type freezedPart and press Tab to generate the part statement
part 'scratch.freezed.dart';Begin to type freezedFromJson and press Tab to generate the fromJson method for json_serializable
factory Demo.fromJson(Map<String, dynamic> json) => _$DemoFromJson(json);Begin to type freezedJsonPart and press Tab to generate the part statement for json_serializable
part 'scratch.g.dart';if you have any bugs/requests go to the Issues tab