In our team's app we are using the Add-to-app feature to display a FlutterFragment as one of the tabs within an Activity that has a BottomNavigationView that allows you to switch tabs.
We can't figure out how to get the AppBar at the top of the page to include the area of the device's status bar in a clean way. The SafeArea doesn't seem to include the space that is reserved for the Status Bar. Is there any way to fix this?
I've been experimenting with the renderer's ViewportMetrics, but that doesn't seem to change anything. Is there a way to modify the SafeArea programmatically from the Android side?