feat(map in info): use clip.none for stacks for better performance

This commit is contained in:
ashilkn 2024-01-31 16:18:44 +05:30
parent 41ea0f1b0f
commit 2e9acbe173

View file

@ -84,6 +84,7 @@ class _LocationTagsWidgetState extends State<LocationTagsWidget> {
height: 120,
child: _hasEnabledMap
? Stack(
clipBehavior: Clip.none,
key: ValueKey(_hasEnabledMap),
children: [
MapView(
@ -143,6 +144,7 @@ class _LocationTagsWidgetState extends State<LocationTagsWidget> {
)
: Stack(
key: ValueKey(_hasEnabledMap),
clipBehavior: Clip.none,
children: [
MapView(
updateVisibleImages: () {},