onInit method
void
onInit(
- Store<
State> store
A function that will run when the StoreConnector in Page will
initially be created.
This can be useful for dispatching actions that fetch data for your Widget when it is first displayed.
Implementation
void onInit(Store<State> store) {}