Thiên Nhạc Tâm
New member
How do you refresh widgets on flutter?
Answer
dart file.
Answer
dart file.
- navigateSecondPage : This will navigate us to the SecondPage . It also call the onGoBack method, which will refresh the data and update the state.
- onGoBack : This will be called when we come back to the current page (home) . We are doing two things here. …
- refreshData : This will refresh the data of the page.