Search code examples
databaseflutterstreamappwrite

How to listDocuments() as a Stream of data from an Appwrite database with Flutter?


I am using a StreamBuilder to build my widget. But database.listDocuments() only returns a Future. Is there a way to get a stream of documents which automatically triggers a widget rebuild on a database update just as with Firebase's snapshots() stream?


Solution

  • Apparently, this functionality is still in beta. It's called Appwrite Realtime. You can find all information about it here.