Filtering content from Firebase


So I’m coding a healthy social media app using Flutter and Firebase as my database.
I want to have a filter button where users can filter content based on the ‘BoardType’ field(in the picture)
Is there any way I can do this?
Firebase screen


of course, you can do so using filters like:

                    .where("BoardType", isEqualTo: "Book of the Month").get();

which is a future that returns the documents that match your request.

Answered By – tareq albeesh

Answer Checked By – Marie Seifert (FlutterFixes Admin)

Leave a Reply

Your email address will not be published. Required fields are marked *