hide method
Hides indicator
Implementation
Future<void> hide() {
if (!controller.isLoading) {
throw StateError(
'Controller must be in the loading state. '
'Current state: ${controller.state}',
);
}
return _hideAfterRefresh();
}