refresh flutter code example
Example 1: how i can reload page in flutter
Navigator.pushReplacement(
context,
MaterialPageRoute(
builder: (BuildContext context) => super.widget));
Example 2: flutter pull to refresh widget
RefreshIndicator(
onRefresh: () {},
child: Container()
)