title: Flutter - How to set status bar color when AppBar not present
body: <p>How to set status bar color when AppBar not present. </p>
  
  <p>I have tried this but not working.</p>
  
  <pre><code>Widget build(BuildContext context) {
      SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle.dark);
      return new Scaffold(
          body: new Container(
          color: UniQueryColors.colorBackground,
          child: new ListView.builder(
             itemCount: 7,
             itemBuilder: (BuildContext context, int index){
               if (index == 0){
                 return addTopInfoSection();
               }
             },
          ),
         ),
      );
  }
  </code></pre>
  
  <p><strong>Output look like this:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/p7XmO.png" rel="noreferrer"><img src="https://i.stack.imgur.com/p7XmO.png" alt="enter image description here"></a></p>