Repository navigation
We should derive the system chrome ui overlay style from a layer #4630
Description
Activity
- addedplatform-iosiOS applications specificallyiOS applications specificallyp: material_uimaterial_ui package in flutter/packagesmaterial_ui package in flutter/packagescustomer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.Relating to flutter/gallery repository. Please transfer non-framework issues there.
on Jun 20, 2016 /cc @HansMuller @Hixie maybe we should have have the option of showing a shadow in the app bar space... this is what the Google Photos app does in the single-photo page.
The contacts demo already adds a shadow. The shadow doesn't help in this case because it's being added to the flexibleSpaceBar which fades out when the app bar get smaller than its toolbar.
We can't just make the shadow (the DecoratedBox with a gradient child, see contacts_demo.dart) the AppBar's parent because the Scaffold expects it's appBar to be an AppBar so that it can change its elevation and etc.
We could make the AppBar render the shadow itself with a flag for turning that on and off. Not super fluttery but probably the simplest tack.
This only matters on iOS, right?
(#4430 will make adding the shade effect trivial.)
Yeah it only matters on iOS
- addedframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.
on Sep 12, 2016 - addedf: scrollingViewports, list views, slivers, etc.Viewports, list views, slivers, etc.
on Sep 23, 2016 - modified the milestones: 2: Make Early Adopters happy, This milestone has been deleted
on Jan 30, 2017 16 remaining items
@jonahwilliams any update on this?
@tvolkert Took a break to work on android/buildroot issues but I'm back to working on it this week.
@jonahwilliams Please give an update. This is actually a blocker for mulligan.
PR is done waiting for LGTM and Green to land
Fixed by #17672
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 -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on Sep 2, 2021
On iOS, using
AppBarBehavior.scrollcan cause the status bar overlay to go from being painted over a dark background to over a light one (or vice versa). Doing so without callingSystemChrome.setSystemUIOverlayStyle()will mean that the status bar will be hard to see in one of the app bar states (either visible or scrolled off).e.g. in the Flutter Gallery's contacts demo:
App Bar visible
App Bar scrolled away