This commit is contained in:
cxc
2023-02-10 17:33:51 +08:00
parent bd259d8303
commit 5f5f2554eb
10 changed files with 100 additions and 38 deletions

10
lib/models/gallery.dart Normal file
View File

@ -0,0 +1,10 @@
import 'image_resp.dart';
class Gallery {
int pageNum;
int pageSize;
List<ImageResp> imageList;
Gallery(
{required this.pageNum, required this.pageSize, required this.imageList});
}

View File

@ -1,10 +1,10 @@
import 'dart:ffi';
import 'package:flutter/material.dart';
import 'package:json_annotation/json_annotation.dart';
part 'image_resp.g.dart';
@JsonSerializable()
@immutable
class ImageResp {
int id;
String file_name;