Skip to content

Having an AppBar in Scaffold prevents NavigationBar and StatusBar style from changing #61149

@Errichamonda

Description

@Errichamonda

Steps to Reproduce

Clone this repo and try to change device's theme.
https://github.com/Errichamonda/FlutterAppBarSysChromeBug

Expected results:

The navigation bar at bottom changing color based on the value I've setted.

Actual results:

No changes when AppBar is in scaffold. The navbar changes color when no AppBar is present in Scaffold.

Details Flutter doctor:
[√] Flutter (Channel beta, 1.19.0-4.2.pre, on Microsoft Windows [Versione 10.0.19041.329], locale it-IT)
    • Flutter version 1.19.0-4.2.pre at C:\flutter
    • Framework revision 9b9b543d92 (2 weeks ago), 2020-06-22 12:19:28 -0700
    • Engine revision 9a28c3bcf4
    • Dart version 2.9.0 (build 2.9.0-14.1.beta)


[√] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at C:\Users\strez\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.46.1)
    • VS Code at C:\Users\strez\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.12.1

[√] Connected device (3 available)
    • sdk gphone x86 arm • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
    • Web Server         • web-server    • web-javascript • Flutter Tools
    • Chrome             • chrome        • web-javascript • Google Chrome 83.0.4103.116

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    f: material designflutter/packages/flutter/material repository.found in release: 1.20Found to occur in 1.20found in release: 1.21Found to occur in 1.21frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-androidAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    Status

    Issue closed with comment

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions