0

I'm using SafeArea to avoid my display area clashing with the latest phones statusbar and camera notch. I use Scaffold without an AppBar.

Problem

Although the display area works as expected, a side-effect happens: the statusbar becomes a single-color region and all system icons include WIFI and battery disappear.

Attempts

I've tried various tips, including

But all they do is set the color. The icons are still missing.

Question

Is this by design or am I missing any useful properties of SafeArea?

kakyo
  • 7,592
  • 9
  • 54
  • 95
  • if it disappears completely means you have to change the theme on native, if it disappears in the sense by having same foreground and background you have to change it on flutter like this https://stackoverflow.com/questions/55209774/flutter-change-status-bar-brightness-to-dark – Yadu Nov 18 '20 at 04:48
  • @Yadu, I suspect that I'm having the first case. But could you be more specific about "change the theme on native"? Do you mean I should resort to coding in native thru Platform Channel? – kakyo Nov 18 '20 at 06:08
  • check this https://developer.android.com/guide/topics/ui/look-and-feel/themes and this https://developer.android.com/training/system-ui/status – Yadu Nov 18 '20 at 06:15

0 Answers0