棉花app新增页面

This commit is contained in:
czz
2025-06-03 09:34:31 +08:00
parent 79a9f165e1
commit 7e0dfa7494
112 changed files with 18479 additions and 73 deletions

View File

@@ -0,0 +1,23 @@
import 'package:ef/ef.dart';
import 'package:json_annotation/json_annotation.dart';
part 'img_preview_controller.g.dart';
@JsonSerializable()
class ImgPreviewModel {
//版本id
String? url; //图片地址
ImgPreviewModel();
static ImgPreviewModel fromJson(Map<String, dynamic> json) =>
_$ImgPreviewModelFromJson(json);
Map<String, dynamic> toJson() => _$ImgPreviewModelToJson(this);
}
class ImgPreviewController extends GetControllerEx<ImgPreviewModel> {
ImgPreviewController() {
attr = GetModel(ImgPreviewModel()).obs;
}
}