Ver código fonte

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

ashilkn 1 ano atrás
pai
commit
a271a3b332

+ 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();
                   },
                 ),