initController method
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;
}