hideLoading static method

dynamic hideLoading(
  1. BuildContext context
)

Hides a dialog box shown earlier.

Implementation

static hideLoading(BuildContext context) {
  if (_isShowed) Navigator.of(context).pop(false);

  _isShowed = false;
}