initController method

void initController(
  1. GlobalKey<State<StatefulWidget>> key
)

Initializes optional Controller variables that can be used for _refreshing and error displaying. This method is called automatically by the mounted View. Do not call.

Implementation

void initController(GlobalKey<State<StatefulWidget>> key) {
  _globalKey = key;
}