Jelajahi Sumber

[fix]分析照片结果文字加黑色阴影

云天逵 11 bulan lalu
induk
melakukan
56126debda
1 mengubah file dengan 48 tambahan dan 0 penghapusan
  1. 48 0
      lib/module/photo_info/photo_info_view.dart

+ 48 - 0
lib/module/photo_info/photo_info_view.dart

@@ -85,6 +85,12 @@ class PhotoInfoPage extends BasePage<PhotoInfoController> {
                               Text(
                                 "Analysis Results",
                                 style: TextStyle(
+                                  shadows: [
+                                    Shadow(
+                                      color: Colors.black,
+                                      blurRadius: 2.r,
+                                    ),
+                                  ],
                                   color: Colors.white,
                                   fontWeight: FontWeight.w900,
                                   fontSize: 16.sp,
@@ -100,6 +106,12 @@ class PhotoInfoPage extends BasePage<PhotoInfoController> {
                                     Text(
                                       controller.createTime.value,
                                       style: TextStyle(
+                                        shadows: [
+                                          Shadow(
+                                            color: Colors.black,
+                                            blurRadius: 2.r,
+                                          ),
+                                        ],
                                         color: Colors.white,
                                         fontWeight: FontWeight.w500,
                                         fontSize: 13.sp,
@@ -118,6 +130,12 @@ class PhotoInfoPage extends BasePage<PhotoInfoController> {
                                     Text(
                                       controller.fileName.value,
                                       style: TextStyle(
+                                        shadows: [
+                                          Shadow(
+                                            color: Colors.black,
+                                            blurRadius: 2.r,
+                                          ),
+                                        ],
                                         color: Colors.white,
                                         fontWeight: FontWeight.w500,
                                         fontSize: 13.sp,
@@ -136,6 +154,12 @@ class PhotoInfoPage extends BasePage<PhotoInfoController> {
                                     Text(
                                       controller.model.value,
                                       style: TextStyle(
+                                        shadows: [
+                                          Shadow(
+                                            color: Colors.black,
+                                            blurRadius: 2.r,
+                                          ),
+                                        ],
                                         color: Colors.white,
                                         fontWeight: FontWeight.w500,
                                         fontSize: 13.sp,
@@ -154,6 +178,12 @@ class PhotoInfoPage extends BasePage<PhotoInfoController> {
                                     Text(
                                       controller.focalLength.value,
                                       style: TextStyle(
+                                        shadows: [
+                                          Shadow(
+                                            color: Colors.black,
+                                            blurRadius: 2.r,
+                                          ),
+                                        ],
                                         color: Colors.white,
                                         fontWeight: FontWeight.w500,
                                         fontSize: 13.sp,
@@ -172,6 +202,12 @@ class PhotoInfoPage extends BasePage<PhotoInfoController> {
                                     Text(
                                       controller.size.value,
                                       style: TextStyle(
+                                        shadows: [
+                                          Shadow(
+                                            color: Colors.black,
+                                            blurRadius: 2.r,
+                                          ),
+                                        ],
                                         color: Colors.white,
                                         fontWeight: FontWeight.w500,
                                         fontSize: 13.sp,
@@ -190,6 +226,12 @@ class PhotoInfoPage extends BasePage<PhotoInfoController> {
                                     Text(
                                       controller.iso.value,
                                       style: TextStyle(
+                                        shadows: [
+                                          Shadow(
+                                            color: Colors.black,
+                                            blurRadius: 2.r,
+                                          ),
+                                        ],
                                         color: Colors.white,
                                         fontWeight: FontWeight.w500,
                                         fontSize: 13.sp,
@@ -208,6 +250,12 @@ class PhotoInfoPage extends BasePage<PhotoInfoController> {
                                     Text(
                                       controller.address.value,
                                       style: TextStyle(
+                                        shadows: [
+                                          Shadow(
+                                            color: Colors.black,
+                                            blurRadius: 2.r,
+                                          ),
+                                        ],
                                         color: Colors.white,
                                         fontWeight: FontWeight.w500,
                                         fontSize: 13.sp,