|
|
@@ -1,5 +1,6 @@
|
|
|
import 'package:flutter/material.dart';
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
+import 'package:keyboard/module/intimacy_analyse/widget/creating_loading_widget.dart';
|
|
|
import 'package:keyboard/resource/string.gen.dart';
|
|
|
import 'package:lottie/lottie.dart';
|
|
|
|
|
|
@@ -532,30 +533,14 @@ class CreatingReportCardWidget extends StatelessWidget {
|
|
|
borderRadius: BorderRadius.circular(30.r),
|
|
|
),
|
|
|
),
|
|
|
- child: Center(
|
|
|
- child: Column(
|
|
|
- // 垂直水平都居中
|
|
|
- mainAxisAlignment: MainAxisAlignment.center,
|
|
|
- crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
- children: [
|
|
|
- // 图标
|
|
|
- Lottie.asset(
|
|
|
- Assets.anim.animIntimacyAnalyseCreatingReportData,
|
|
|
- repeat: true,
|
|
|
- width: 82.w,
|
|
|
- height: 82.w,
|
|
|
- ),
|
|
|
- SizedBox(height: 3.h),
|
|
|
- // 文字
|
|
|
- Text(
|
|
|
- StringName.intimacyAnalyseReportCreating,
|
|
|
- style: TextStyle(
|
|
|
- fontSize: 14.sp,
|
|
|
- color: ColorName.black60,
|
|
|
- fontWeight: FontWeight.w400,
|
|
|
- ),
|
|
|
- ),
|
|
|
- ],
|
|
|
+ child: CreatingLoadingWidget(
|
|
|
+ tipTextWidget: Text(
|
|
|
+ StringName.intimacyAnalyseReportCreating,
|
|
|
+ style: TextStyle(
|
|
|
+ fontSize: 14.sp,
|
|
|
+ color: ColorName.black60,
|
|
|
+ fontWeight: FontWeight.w400,
|
|
|
+ ),
|
|
|
),
|
|
|
),
|
|
|
),
|