initState method

void initState()

Called exactly once when the state is initialized. Override to set up state, subscribe to data sources, etc.

Implementation

void initState() {}