Feature
Most of feature is support on MacOs
New
Export String to l10n resource
Clean architecture with cubit
Support Fold name |
Image |
features |
 |
pages |
 |
File tree |
 |
Feature |
Image |
Add cubit |
 |
Register Route |
 |
Support Fold name |
Image |
images |
 |
svg |
 |
File Tree |
 |
File Tree |
lib/assets  |
- Generate Clean Architecture folder only show menu when right-click when folder name is 'features'
Old feature
freezed
Create freezed

Json to freezed

Menu

Convert to freezed Result
import 'package:freezed_annotation/freezed_annotation.dart';
part 'test_api.g.dart';
part 'test_api.freezed.dart';
@freezed
class TestApi with _$TestApi {
const TestApi._();
const factory TestApi({
final User? user,
final Location? location,
@Default([]) final List<String> devices,
@Default([]) final List<Devices2> devices2,
}) = _TestApi;
factory TestApi.fromJson(Map<String, dynamic> json) =>
_$TestApiFromJson(json);
}
@freezed
class Devices2 with _$Devices2 {
const Devices2._();
const factory Devices2({
final String? logo,
}) = _Devices2;
factory Devices2.fromJson(Map<String, dynamic> json) =>
_$Devices2FromJson(json);
}
@freezed
class Location with _$Location {
const Location._();
const factory Location({
final String? city,
final String? state,
final int? zipcode,
}) = _Location;
factory Location.fromJson(Map<String, dynamic> json) =>
_$LocationFromJson(json);
}
@freezed
class User with _$User {
const User._();
const factory User({
final Name? name,
final int? age,
final String? email,
}) = _User;
factory User.fromJson(Map<String, dynamic> json) => _$UserFromJson(json);
}
@freezed
class Name with _$Name {
const Name._();
const factory Name({
final String? first,
final String? last,
}) = _Name;
factory Name.fromJson(Map<String, dynamic> json) => _$NameFromJson(json);
}
QuickFix part of

| |