馃悰 [firebase-database] Apply sort/compare onChildChanged. #12657
Labels
Needs Attention
This issue needs maintainer attention.
platform: all
Issues / PRs which are for all platforms.
plugin: database
type: enhancement
New feature or request
Apply sort/compare onChildChanged.
When I update my item in firebase real-time database, I would like my FirebaseAnimatedList() widget to apply the sort.
Example: I add a child to my query
something.child($id)
This can be fixed manually in firebase-database/ui/firebase_sorted_list.dart by adding
_snapshots.sort(comparator);
beforeonChildChanged!(index, event.snapshot);
line 114.The text was updated successfully, but these errors were encountered: