Skip to content

Unable to set notification bar icon color/brightness when in ios dark mode #41188

@vlowe85

Description

@vlowe85

When the ios device is in dark mode and an AppBar is set to white background then i am unable to set the notification bar icons to dark so they are visible. The brightness: Brightness.light parameter does nothing.

      appBar: AppBar(
        title: Text(widget.title),
        backgroundColor: Colors.white,
        brightness: Brightness.light,
      ),

I understand that in dark mode usually you would not set a white AppBar background, but i would like it to look the same as it does in light mode until we have time to fully implement a dark mode design.

I have tried using setSystemUIOverlayStyle method and annotatedRegion.

Sample app - https://github.com/vlowe85/flutter_ios_dark_mode

Metadata

Metadata

Assignees

No one assigned

    Labels

    customer: crowdAffects or could affect many people, though not necessarily a specific customer.f: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.platform-iosiOS applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions