Browse Source

更改FTooltip 为FMaterialTooltip

Caroline 2 năm trước cách đây
mục cha
commit
b5f403acdf
1 tập tin đã thay đổi với 4 bổ sung5 xóa
  1. 4 5
      lib/components/picture_components.dart

+ 4 - 5
lib/components/picture_components.dart

@@ -246,7 +246,7 @@ class FContentImage extends StatelessWidget implements FWidget {
       return FPositioned(
         bottom: 5,
         right: 5,
-        child: FTooltip(
+        child: FMaterialTooltip(
           textStyle: TextStyle(
             fontSize: 16,
             color: Colors.white,
@@ -261,7 +261,6 @@ class FContentImage extends StatelessWidget implements FWidget {
               fontSize: 20,
             ),
           ),
-          textLines: new List.empty(),
         ),
       );
     }
@@ -296,9 +295,6 @@ class FContentImage extends StatelessWidget implements FWidget {
               }),
             ),
           ),
-          _buildLeftAIOrCarotidLogo(),
-          _buildRigthAIText(),
-          if (ifShowIndex!) _buildIndex(),
           FInkWell(
             onDoubleTap: () {
               onDoubleTap?.call();
@@ -316,6 +312,9 @@ class FContentImage extends StatelessWidget implements FWidget {
               ),
             ),
           ),
+          _buildLeftAIOrCarotidLogo(),
+          _buildRigthAIText(),
+          if (ifShowIndex!) _buildIndex(),
         ],
       ),
     );