I'm trying to ensure that the Address
field updates with the mapCenter
value only if the Address
is empty and the mapCenter
is moving. If the Address
is manually filled, it shouldn't change even if the mapCenter
moves. How can I achieve this? Could you please look into my loops and suggest a solution?
How to reset the value of place picker.
Widgets & Design
I created a function that checks if mapCenter
is not null and not empty. If mapCenter
equals 'moving', it returns true, indicating that the map center is changing. Otherwise, it returns false. This should help determine if the mapCenter
is changing based on the action output in FlutterFlow.
However, it's not working as expected because it always picks the mapCenter
value.
Yes
3