How to make device top panel (status bar) have the same background color as AppBar in flutter? The color of the device top panel is always darker than the AppBar backgroundColor. Thanks a lot.
On iOS, this is already true.
On Android, add the following to
MainActivity.java, after the call to
This will override the default status bar color of
0x40000000, which is set in the
onCreate method of