Skip to content

Conversation

sante
Copy link

@sante sante commented Apr 3, 2025

This pull request introduces a new callback feature to the FirestorePagination widget, allowing parent widgets to access loaded data, in case someone wants to get this data to another state management tool. The main changes include the addition of the onData callback and its invocation at appropriate points in the data loading process.

Key changes:

  • Added onData callback parameter to FirestorePagination widget to allow parent widgets to access loaded data (lib/src/firestore_pagination.dart). [1] [2]
  • Invoked onData callback after data is loaded in _FirestorePaginationState class to notify parent widgets (lib/src/firestore_pagination.dart). [1] [2]

⚠️ Notes

Still have to update the real time db and documentation

@OutdatedGuy
Copy link
Owner

Hi @sante, from the notes this PR looks to be still in development. Are you planning to complete this PR?

@OutdatedGuy OutdatedGuy marked this pull request as draft July 31, 2025 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants