Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status Bar Color doesn't change in real device #53034

Closed
ampersanda opened this issue Mar 22, 2020 · 2 comments
Closed

Status Bar Color doesn't change in real device #53034

ampersanda opened this issue Mar 22, 2020 · 2 comments

Comments

@ampersanda
Copy link

Regards of my question in stackoverflow (https://stackoverflow.com/questions/60733747/annotatedregion-doesnt-work-on-real-device) by using setState and AnnotatedRegion to change status bar brightness.

Steps to Reproduce

  1. A fresh flutter project
  2. A simple setState and AnnotatedRegion<SystemUiOverlayStyle> value set toggled between
    light and dark

This runs perfectly on iOS Simulator but doesn't work in real device

Previews

iOS Simulator

kqcw3

Real device (iPhone XR)

ioPA2

@VladyslavBondarenko
Copy link

Hi @ampersanda
from your stackoverflow question I see you are using 1.12.13+hotfix.8. I checked, it's true for stable, but not for the current master (tried with v1.16.2-pre.41).
You can consider to use another flutter channel which can already have this fix.
Closing the issue since it's fixed, but not yet for stable.
if you disagree please write in the comments and I will reopen it.
Thank you

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants