title: Conditions must have a static type of 'bool'. Try changing the condition
body: <p>I get this when I trying to check for the connection <em>Conditions must have a static type of 'bool'.</em>
  Try changing the condition.</p>
  <pre><code>if (ConnectivityResult.none) {
          return const LoadingScreen();
        } else {
      Scaffold (...);
  }
  }
  </code></pre>