shuffle / randomize data coming from firebase using streambuilder

190 views
Skip to first unread message

Error Place

unread,
Jun 30, 2020, 12:27:38 PM6/30/20
to Flutter Development (flutter-dev)
hi guys. 
this might sound stupid but i was unable to find any docs or examples. 
is there a way to shuffle the order of data in a stream?
best regards all

Souvik Dutta

unread,
Jun 30, 2020, 9:54:29 PM6/30/20
to Error Place, Flutter Development (flutter-dev)
You might try to form a list from the firebase data and then shuffle the list.

Souvik flutter dev

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/fa4ce731-9386-4292-95f3-9bfc6dbbf113o%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages