해결된 질문
작성
·
220
0
pubspec.yaml
environment:
sdk: '>=3.1.2 <4.0.0'
dependencies:
flutter:
sdk: flutter
freezed_annotation: 2.4.1
cupertino_icons: ^1.0.2
get_it: 7.2.0
hive: 2.2.3
hive_flutter: 1.1.0
intl: 0.17.0
dev_dependencies:
build_runner: 2.4.8
flutter_test:
sdk: flutter
flutter_lints: ^2.0.0
freezed: 2.4.7
hive_generator: 2.0.1
json_serializable: 6.7.1
folder.g.dart 파일
class FolderAdapter extends TypeAdapter<Folder> {
...
@override
Folder read(BinaryReader reader) {
...
return Folder();
}
...
}
네 감사합니다.