I use a Scafold which has an app bar with grey background and black as text color. I want to have the status bar transparent and the text also black. Unfortunately the text color is white not matter what I've treid. After reading [this](https://stackoverflow.com/questions/61851773/flutter-how-to-change-the-status-bar-text-color-on-android-and-ios-when-not-usi) post and [this](https://stackoverflow.com/questions/52489458/how-to-change-status-bar-color-in-flutter) one, I've tried the code below, but the text color is still white.

```
  SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle.light.copyWith(
      statusBarColor: Colors.black.withOpacity(0.0), // Color for Android
      statusBarIconBrightness: Brightness.light,
      statusBarBrightness: Brightness.light, 
  ));

```

**Update:**

To make it more clear: In the emulator the bar looks like this which is fine:
[![enter image description here](https://i.stack.imgur.com/qltnd.png)](https://i.stack.imgur.com/qltnd.png)

On my phone the text color is white, so you can't see it:
[![enter image description here](https://i.stack.imgur.com/MRTrl.png)](https://i.stack.imgur.com/MRTrl.png)