Refresh page after edit data in Firebase

Hi, I have a bottom sheet with details of the current person, there is also an edit icon that is passing data to another page where the user can edit some information. When I changed the data and click the save button on the edit page it navigates back to the bottom sheet but the data is not refreshed or changed. It is changed in the firebase. It works only when I close the bottom sheet and open it one more time. How I can refresh data after editing without opening the record one more time?

6
8 replies