OnInitCallback<St> typedef

void OnInitCallback (
  1. Store<St> store
)

A function that will be run when the StoreConnector is initialized (using the State.initState method). This can be useful for dispatching actions that fetch data for your Widget when it is first displayed.

Implementation

typedef OnInitCallback<St> = void Function(Store<St> store);