|
|
@@ -5,6 +5,7 @@ import 'package:flutter/cupertino.dart';
|
|
|
import 'package:flutter/material.dart';
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
import 'package:keyboard/resource/assets.gen.dart';
|
|
|
+import 'package:lottie/lottie.dart';
|
|
|
|
|
|
import '../../../../data/bean/upload_info.dart';
|
|
|
import '../../../../resource/colors.gen.dart';
|
|
|
@@ -165,12 +166,15 @@ class UploadingMaskWidget extends StatelessWidget {
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
children: [
|
|
|
- // 图标
|
|
|
- RotateImage(
|
|
|
- image: Assets.images.iconUploading.image(width: 26.w, height: 26.w),
|
|
|
+ // 加载中的图标
|
|
|
+ Lottie.asset(
|
|
|
+ Assets.anim.animUploadLoading,
|
|
|
+ repeat: true,
|
|
|
+ width: 34.w,
|
|
|
+ height: 34.w,
|
|
|
),
|
|
|
// 间距
|
|
|
- SizedBox(height: 6.h),
|
|
|
+ SizedBox(height: 4.h),
|
|
|
// 文字
|
|
|
Text(
|
|
|
StringName.intimacyAnalyseUploading,
|