棉花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,20 @@
import 'package:ef/ef.dart';
import 'package:json_annotation/json_annotation.dart';
part 'score_controller.g.dart';
@JsonSerializable()
class ScoreModel {
int? score = 5;
ScoreModel();
static ScoreModel fromJson(Map<String, dynamic> json) =>
_$ScoreModelFromJson(json);
Map<String, dynamic> toJson() => _$ScoreModelToJson(this);
}
class ScoreController extends GetControllerEx<ScoreModel> {
ScoreController() {
attr = GetModel(ScoreModel()).obs;
}
}