Browse Source

feat(map in info): add animation when map-disabled widget is rendered

ashilkn 1 year ago
parent
commit
a271a3b332
1 changed files with 4 additions and 1 deletions
  1. 4 1
      lib/ui/viewer/file_details/location_tags_widget.dart

+ 4 - 1
lib/ui/viewer/file_details/location_tags_widget.dart

@@ -333,7 +333,10 @@ class _InfoMapState extends State<InfoMap> {
                                 ),
                                 ),
                               ),
                               ),
                             ],
                             ],
-                          )
+                          ).animate().fadeIn(
+                              duration: const Duration(milliseconds: 90),
+                              curve: Curves.easeIn,
+                            )
                         : const SizedBox.shrink();
                         : const SizedBox.shrink();
                   },
                   },
                 ),
                 ),