Skip to content

When status bar is hidden, app bar's height remains the same #14432

@deborah-ufw

Description

@deborah-ufw

Steps to Reproduce

In a view, status bar is hidden...

if (ChqMeasurements.isLandscapePhone(context)) {
      SystemChrome.setEnabledSystemUIOverlays([]);
    } else {
      SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values);
    }

However, the app bar's height does not change. App bar just has more space at the top. Material Widget AppBar does not recognize property "preferredSize", so it can't be manually adjusted with that.

Since the purpose of hiding status bar is usually to get more screen space, this seems like a bug.

Metadata

Metadata

Assignees

Labels

frameworkflutter/packages/flutter repository. See also f: labels.platform-iosiOS applications specificallywaiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter responds

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions