hideNoInternet method

Future<bool> hideNoInternet()

Use this method to forcefully hide the no internet widget

Implementation

Future<bool> hideNoInternet() async {
  return await currentContext
      .dependOnInheritedWidgetOfExactType<ConnectivityInheritedWidget>()!
      .controller!
      .hideNoInternetScreen();
}