Mosses
 · [moe-zus]

LatLng boolean condition validity issue

Actions & Logic
Resolved

I'm trying to add a visibility condition on a button but running into issues. I want the button to only show when current map center doesn't match to updated map center in page state.

But when trying to run a boolean check on a page state which is a type latlng against a widget with variable Current GoogleMap Center, I keep getting a Current Variable is Not Valid error message. Both are latlng types. What am I missing?

What have you tried so far?

Scoured the web.

Did you check FlutterFlow's Documentation for this topic?
Yes
1
6 replies