• This project
    • Loading...
  • Sign in

xt / Flutter-ReserveApp · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Flutter-ReserveApp
  • lib
  • models
  • upload_img_model.dart
  • 视频图片混合上传显示
    b7ea698e
    by wdn127929
    2021-03-30 17:12:23 +0800  
    Browse Files
upload_img_model.dart 325 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
import 'dart:io';

import 'package:flutter/material.dart';

class UploadImgModel {
  File file; //本地图片地址
  String qiniuUrl; //七牛云地址
  double process; //图片上传进度
  FileType fileType;
  File thumbnailPath; // 视频封面
  String duration; //视频时长
}

enum FileType {
  image,
  video,
}