How to filter a listView according to distanceFilter widget

Resolved

I build an app where i need to display the posts where the owner's location is below 2km from the user's location.

I made a function that calculate a distance between two coordinates but it doesn't work (List<Dynamic> issue).

How are we supped to use the distanceFilter Widget if there is no documentation about it

3
18 replies