|
@@ -70,7 +70,6 @@ class PhotoInfoPage extends BasePage<PhotoInfoController> {
|
|
|
Visibility(
|
|
Visibility(
|
|
|
visible: controller.type.value == FileType.analysis,
|
|
visible: controller.type.value == FileType.analysis,
|
|
|
child: Positioned(
|
|
child: Positioned(
|
|
|
-
|
|
|
|
|
left: 0,
|
|
left: 0,
|
|
|
right: 0,
|
|
right: 0,
|
|
|
bottom: 0,
|
|
bottom: 0,
|
|
@@ -78,205 +77,209 @@ class PhotoInfoPage extends BasePage<PhotoInfoController> {
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
children: [
|
|
children: [
|
|
|
Container(
|
|
Container(
|
|
|
- width:double.infinity,
|
|
|
|
|
|
|
+ width: double.infinity,
|
|
|
decoration: BoxDecoration(
|
|
decoration: BoxDecoration(
|
|
|
- image: DecorationImage(image:
|
|
|
|
|
- Assets.images.bgPhotoAnalyze.provider(),fit: BoxFit.fill),
|
|
|
|
|
|
|
+ image: DecorationImage(
|
|
|
|
|
+ image: Assets.images.bgPhotoAnalyze.provider(),
|
|
|
|
|
+ fit: BoxFit.fill),
|
|
|
borderRadius: BorderRadius.circular(12.r),
|
|
borderRadius: BorderRadius.circular(12.r),
|
|
|
),
|
|
),
|
|
|
- margin: EdgeInsets.only(left: 18.w),
|
|
|
|
|
child: Obx(() {
|
|
child: Obx(() {
|
|
|
return SingleChildScrollView(
|
|
return SingleChildScrollView(
|
|
|
- child: Column(
|
|
|
|
|
- crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
- children: [
|
|
|
|
|
- Text(
|
|
|
|
|
- "Analysis Results",
|
|
|
|
|
- style: TextStyle(
|
|
|
|
|
- shadows: [
|
|
|
|
|
- Shadow(
|
|
|
|
|
- color: Colors.black,
|
|
|
|
|
- blurRadius: 5.r,
|
|
|
|
|
- ),
|
|
|
|
|
- ],
|
|
|
|
|
- color: Colors.white,
|
|
|
|
|
- fontWeight: FontWeight.w900,
|
|
|
|
|
- fontSize: 16.sp,
|
|
|
|
|
|
|
+ child: Container(
|
|
|
|
|
+ margin: EdgeInsets.only(left: 18.w),
|
|
|
|
|
+ child: Column(
|
|
|
|
|
+ crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
+ children: [
|
|
|
|
|
+ Text(
|
|
|
|
|
+ "Analysis Results",
|
|
|
|
|
+ style: TextStyle(
|
|
|
|
|
+ shadows: [
|
|
|
|
|
+ Shadow(
|
|
|
|
|
+ color: Colors.black,
|
|
|
|
|
+ blurRadius: 5.r,
|
|
|
|
|
+ ),
|
|
|
|
|
+ ],
|
|
|
|
|
+ color: Colors.white,
|
|
|
|
|
+ fontWeight: FontWeight.w900,
|
|
|
|
|
+ fontSize: 16.sp,
|
|
|
|
|
+ ),
|
|
|
),
|
|
),
|
|
|
- ),
|
|
|
|
|
- Visibility(
|
|
|
|
|
- visible: controller.createTime.value.isNotEmpty,
|
|
|
|
|
- child: Column(
|
|
|
|
|
- children: [
|
|
|
|
|
- SizedBox(
|
|
|
|
|
- height: 20.h,
|
|
|
|
|
- ),
|
|
|
|
|
- Text(
|
|
|
|
|
- controller.createTime.value,
|
|
|
|
|
- style: TextStyle(
|
|
|
|
|
- shadows: [
|
|
|
|
|
- Shadow(
|
|
|
|
|
- color: Colors.black,
|
|
|
|
|
- blurRadius: 5.r,
|
|
|
|
|
- ),
|
|
|
|
|
- ],
|
|
|
|
|
- color: Colors.white,
|
|
|
|
|
- fontWeight: FontWeight.w500,
|
|
|
|
|
- fontSize: 13.sp,
|
|
|
|
|
|
|
+ Visibility(
|
|
|
|
|
+ visible:
|
|
|
|
|
+ controller.createTime.value.isNotEmpty,
|
|
|
|
|
+ child: Column(
|
|
|
|
|
+ children: [
|
|
|
|
|
+ SizedBox(
|
|
|
|
|
+ height: 20.h,
|
|
|
),
|
|
),
|
|
|
- ),
|
|
|
|
|
- ],
|
|
|
|
|
|
|
+ Text(
|
|
|
|
|
+ controller.createTime.value,
|
|
|
|
|
+ style: TextStyle(
|
|
|
|
|
+ shadows: [
|
|
|
|
|
+ Shadow(
|
|
|
|
|
+ color: Colors.black,
|
|
|
|
|
+ blurRadius: 5.r,
|
|
|
|
|
+ ),
|
|
|
|
|
+ ],
|
|
|
|
|
+ color: Colors.white,
|
|
|
|
|
+ fontWeight: FontWeight.w500,
|
|
|
|
|
+ fontSize: 13.sp,
|
|
|
|
|
+ ),
|
|
|
|
|
+ ),
|
|
|
|
|
+ ],
|
|
|
|
|
+ ),
|
|
|
),
|
|
),
|
|
|
- ),
|
|
|
|
|
- Visibility(
|
|
|
|
|
- visible: controller.fileName.value.isNotEmpty,
|
|
|
|
|
- child: Column(
|
|
|
|
|
- children: [
|
|
|
|
|
- SizedBox(
|
|
|
|
|
- height: 12.h,
|
|
|
|
|
- ),
|
|
|
|
|
- Text(
|
|
|
|
|
- controller.fileName.value,
|
|
|
|
|
- style: TextStyle(
|
|
|
|
|
- shadows: [
|
|
|
|
|
- Shadow(
|
|
|
|
|
- color: Colors.black,
|
|
|
|
|
- blurRadius: 5.r,
|
|
|
|
|
- ),
|
|
|
|
|
- ],
|
|
|
|
|
- color: Colors.white,
|
|
|
|
|
- fontWeight: FontWeight.w500,
|
|
|
|
|
- fontSize: 13.sp,
|
|
|
|
|
|
|
+ Visibility(
|
|
|
|
|
+ visible: controller.fileName.value.isNotEmpty,
|
|
|
|
|
+ child: Column(
|
|
|
|
|
+ children: [
|
|
|
|
|
+ SizedBox(
|
|
|
|
|
+ height: 12.h,
|
|
|
),
|
|
),
|
|
|
- ),
|
|
|
|
|
- ],
|
|
|
|
|
|
|
+ Text(
|
|
|
|
|
+ controller.fileName.value,
|
|
|
|
|
+ style: TextStyle(
|
|
|
|
|
+ shadows: [
|
|
|
|
|
+ Shadow(
|
|
|
|
|
+ color: Colors.black,
|
|
|
|
|
+ blurRadius: 5.r,
|
|
|
|
|
+ ),
|
|
|
|
|
+ ],
|
|
|
|
|
+ color: Colors.white,
|
|
|
|
|
+ fontWeight: FontWeight.w500,
|
|
|
|
|
+ fontSize: 13.sp,
|
|
|
|
|
+ ),
|
|
|
|
|
+ ),
|
|
|
|
|
+ ],
|
|
|
|
|
+ ),
|
|
|
),
|
|
),
|
|
|
- ),
|
|
|
|
|
- Visibility(
|
|
|
|
|
- visible: controller.model.value.isNotEmpty,
|
|
|
|
|
- child: Column(
|
|
|
|
|
- children: [
|
|
|
|
|
- SizedBox(
|
|
|
|
|
- height: 12.h,
|
|
|
|
|
- ),
|
|
|
|
|
- Text(
|
|
|
|
|
- controller.model.value,
|
|
|
|
|
- style: TextStyle(
|
|
|
|
|
- shadows: [
|
|
|
|
|
- Shadow(
|
|
|
|
|
- color: Colors.black,
|
|
|
|
|
- blurRadius: 5.r,
|
|
|
|
|
- ),
|
|
|
|
|
- ],
|
|
|
|
|
- color: Colors.white,
|
|
|
|
|
- fontWeight: FontWeight.w500,
|
|
|
|
|
- fontSize: 13.sp,
|
|
|
|
|
|
|
+ Visibility(
|
|
|
|
|
+ visible: controller.model.value.isNotEmpty,
|
|
|
|
|
+ child: Column(
|
|
|
|
|
+ children: [
|
|
|
|
|
+ SizedBox(
|
|
|
|
|
+ height: 12.h,
|
|
|
),
|
|
),
|
|
|
- ),
|
|
|
|
|
- ],
|
|
|
|
|
|
|
+ Text(
|
|
|
|
|
+ controller.model.value,
|
|
|
|
|
+ style: TextStyle(
|
|
|
|
|
+ shadows: [
|
|
|
|
|
+ Shadow(
|
|
|
|
|
+ color: Colors.black,
|
|
|
|
|
+ blurRadius: 5.r,
|
|
|
|
|
+ ),
|
|
|
|
|
+ ],
|
|
|
|
|
+ color: Colors.white,
|
|
|
|
|
+ fontWeight: FontWeight.w500,
|
|
|
|
|
+ fontSize: 13.sp,
|
|
|
|
|
+ ),
|
|
|
|
|
+ ),
|
|
|
|
|
+ ],
|
|
|
|
|
+ ),
|
|
|
),
|
|
),
|
|
|
- ),
|
|
|
|
|
- Visibility(
|
|
|
|
|
- visible:
|
|
|
|
|
- controller.focalLength.value.isNotEmpty,
|
|
|
|
|
- child: Column(
|
|
|
|
|
- children: [
|
|
|
|
|
- SizedBox(
|
|
|
|
|
- height: 12.h,
|
|
|
|
|
- ),
|
|
|
|
|
- Text(
|
|
|
|
|
- controller.focalLength.value,
|
|
|
|
|
- style: TextStyle(
|
|
|
|
|
- shadows: [
|
|
|
|
|
- Shadow(
|
|
|
|
|
- color: Colors.black,
|
|
|
|
|
- blurRadius: 5.r,
|
|
|
|
|
- ),
|
|
|
|
|
- ],
|
|
|
|
|
- color: Colors.white,
|
|
|
|
|
- fontWeight: FontWeight.w500,
|
|
|
|
|
- fontSize: 13.sp,
|
|
|
|
|
|
|
+ Visibility(
|
|
|
|
|
+ visible:
|
|
|
|
|
+ controller.focalLength.value.isNotEmpty,
|
|
|
|
|
+ child: Column(
|
|
|
|
|
+ children: [
|
|
|
|
|
+ SizedBox(
|
|
|
|
|
+ height: 12.h,
|
|
|
),
|
|
),
|
|
|
- ),
|
|
|
|
|
- ],
|
|
|
|
|
|
|
+ Text(
|
|
|
|
|
+ controller.focalLength.value,
|
|
|
|
|
+ style: TextStyle(
|
|
|
|
|
+ shadows: [
|
|
|
|
|
+ Shadow(
|
|
|
|
|
+ color: Colors.black,
|
|
|
|
|
+ blurRadius: 5.r,
|
|
|
|
|
+ ),
|
|
|
|
|
+ ],
|
|
|
|
|
+ color: Colors.white,
|
|
|
|
|
+ fontWeight: FontWeight.w500,
|
|
|
|
|
+ fontSize: 13.sp,
|
|
|
|
|
+ ),
|
|
|
|
|
+ ),
|
|
|
|
|
+ ],
|
|
|
|
|
+ ),
|
|
|
),
|
|
),
|
|
|
- ),
|
|
|
|
|
- Visibility(
|
|
|
|
|
- visible: controller.size.value.isNotEmpty,
|
|
|
|
|
- child: Column(
|
|
|
|
|
- children: [
|
|
|
|
|
- SizedBox(
|
|
|
|
|
- height: 12.h,
|
|
|
|
|
- ),
|
|
|
|
|
- Text(
|
|
|
|
|
- controller.size.value,
|
|
|
|
|
- style: TextStyle(
|
|
|
|
|
- shadows: [
|
|
|
|
|
- Shadow(
|
|
|
|
|
- color: Colors.black,
|
|
|
|
|
- blurRadius: 5.r,
|
|
|
|
|
- ),
|
|
|
|
|
- ],
|
|
|
|
|
- color: Colors.white,
|
|
|
|
|
- fontWeight: FontWeight.w500,
|
|
|
|
|
- fontSize: 13.sp,
|
|
|
|
|
|
|
+ Visibility(
|
|
|
|
|
+ visible: controller.size.value.isNotEmpty,
|
|
|
|
|
+ child: Column(
|
|
|
|
|
+ children: [
|
|
|
|
|
+ SizedBox(
|
|
|
|
|
+ height: 12.h,
|
|
|
),
|
|
),
|
|
|
- ),
|
|
|
|
|
- ],
|
|
|
|
|
|
|
+ Text(
|
|
|
|
|
+ controller.size.value,
|
|
|
|
|
+ style: TextStyle(
|
|
|
|
|
+ shadows: [
|
|
|
|
|
+ Shadow(
|
|
|
|
|
+ color: Colors.black,
|
|
|
|
|
+ blurRadius: 5.r,
|
|
|
|
|
+ ),
|
|
|
|
|
+ ],
|
|
|
|
|
+ color: Colors.white,
|
|
|
|
|
+ fontWeight: FontWeight.w500,
|
|
|
|
|
+ fontSize: 13.sp,
|
|
|
|
|
+ ),
|
|
|
|
|
+ ),
|
|
|
|
|
+ ],
|
|
|
|
|
+ ),
|
|
|
),
|
|
),
|
|
|
- ),
|
|
|
|
|
- Visibility(
|
|
|
|
|
- visible: controller.iso.value.isNotEmpty,
|
|
|
|
|
- child: Column(
|
|
|
|
|
- children: [
|
|
|
|
|
- SizedBox(
|
|
|
|
|
- height: 12.h,
|
|
|
|
|
- ),
|
|
|
|
|
- Text(
|
|
|
|
|
- controller.iso.value,
|
|
|
|
|
- style: TextStyle(
|
|
|
|
|
- shadows: [
|
|
|
|
|
- Shadow(
|
|
|
|
|
- color: Colors.black,
|
|
|
|
|
- blurRadius: 5.r,
|
|
|
|
|
- ),
|
|
|
|
|
- ],
|
|
|
|
|
- color: Colors.white,
|
|
|
|
|
- fontWeight: FontWeight.w500,
|
|
|
|
|
- fontSize: 13.sp,
|
|
|
|
|
|
|
+ Visibility(
|
|
|
|
|
+ visible: controller.iso.value.isNotEmpty,
|
|
|
|
|
+ child: Column(
|
|
|
|
|
+ children: [
|
|
|
|
|
+ SizedBox(
|
|
|
|
|
+ height: 12.h,
|
|
|
),
|
|
),
|
|
|
- ),
|
|
|
|
|
- ],
|
|
|
|
|
|
|
+ Text(
|
|
|
|
|
+ controller.iso.value,
|
|
|
|
|
+ style: TextStyle(
|
|
|
|
|
+ shadows: [
|
|
|
|
|
+ Shadow(
|
|
|
|
|
+ color: Colors.black,
|
|
|
|
|
+ blurRadius: 5.r,
|
|
|
|
|
+ ),
|
|
|
|
|
+ ],
|
|
|
|
|
+ color: Colors.white,
|
|
|
|
|
+ fontWeight: FontWeight.w500,
|
|
|
|
|
+ fontSize: 13.sp,
|
|
|
|
|
+ ),
|
|
|
|
|
+ ),
|
|
|
|
|
+ ],
|
|
|
|
|
+ ),
|
|
|
),
|
|
),
|
|
|
- ),
|
|
|
|
|
- Visibility(
|
|
|
|
|
- visible: controller.address.value.isNotEmpty,
|
|
|
|
|
- child: Column(
|
|
|
|
|
- children: [
|
|
|
|
|
- SizedBox(
|
|
|
|
|
- height: 12.h,
|
|
|
|
|
- ),
|
|
|
|
|
- Text(
|
|
|
|
|
- controller.address.value,
|
|
|
|
|
- style: TextStyle(
|
|
|
|
|
- shadows: [
|
|
|
|
|
- Shadow(
|
|
|
|
|
- color: Colors.black,
|
|
|
|
|
- blurRadius: 5.r,
|
|
|
|
|
- ),
|
|
|
|
|
- ],
|
|
|
|
|
- color: Colors.white,
|
|
|
|
|
- fontWeight: FontWeight.w500,
|
|
|
|
|
- fontSize: 13.sp,
|
|
|
|
|
|
|
+ Visibility(
|
|
|
|
|
+ visible: controller.address.value.isNotEmpty,
|
|
|
|
|
+ child: Column(
|
|
|
|
|
+ children: [
|
|
|
|
|
+ SizedBox(
|
|
|
|
|
+ height: 12.h,
|
|
|
),
|
|
),
|
|
|
- ),
|
|
|
|
|
- ],
|
|
|
|
|
|
|
+ Text(
|
|
|
|
|
+ controller.address.value,
|
|
|
|
|
+ style: TextStyle(
|
|
|
|
|
+ shadows: [
|
|
|
|
|
+ Shadow(
|
|
|
|
|
+ color: Colors.black,
|
|
|
|
|
+ blurRadius: 5.r,
|
|
|
|
|
+ ),
|
|
|
|
|
+ ],
|
|
|
|
|
+ color: Colors.white,
|
|
|
|
|
+ fontWeight: FontWeight.w500,
|
|
|
|
|
+ fontSize: 13.sp,
|
|
|
|
|
+ ),
|
|
|
|
|
+ ),
|
|
|
|
|
+ ],
|
|
|
|
|
+ ),
|
|
|
),
|
|
),
|
|
|
- ),
|
|
|
|
|
- SizedBox(
|
|
|
|
|
- height: 32.h,
|
|
|
|
|
- ),
|
|
|
|
|
- ],
|
|
|
|
|
|
|
+ SizedBox(
|
|
|
|
|
+ height: 32.h,
|
|
|
|
|
+ ),
|
|
|
|
|
+ ],
|
|
|
|
|
+ ),
|
|
|
));
|
|
));
|
|
|
}),
|
|
}),
|
|
|
),
|
|
),
|