NavigationBar and System NavigationBar color

Has anyone managed to get the NavigationBar color to reach the system navigation bar? I’ve tried using SystemChrome, changing the color manually through SystemUiOverlayStyle to transparent, but it’s not what I expected
(Example that shows how I expected, the other one is mine)